Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- What I have so far - <[^<|]+?>?>ITS<[^<]+?>|ITS
- EXAMPLE (FROM):
- I want you to highlight this ITS, but not this wrapped one as its done already - <acronym title="#GlossaryTerm#" id="thisIsATest">ITS</acronym>
- This is another test as I still want to update these <p>ITS</p> HTML tags which don't have acronyms yet.
- ITS want ones that start sentences and ones that finish ITS.ITS, and ones which are wrapped in punctuation.
- Test link:
- <a href="/farcry/index.cfm>ITS</a>
- TO:
- I want you to highlight this <acronym title="#GlossaryTerm#">ITS</acronym>, but not this wrapped one as its done already - <acronym title="#GlossaryTerm#" id="thisIsATest">ITS</acronym>
- This is another test as I still want to update these <p><acronym title="#GlossaryTerm#">ITS</acronym></p> HTML tags which don't have acronyms yet.
- <acronym title="#GlossaryTerm#">ITS</acronym> want ones that start sentences and ones that finish <acronym title="ITS">ITS</acronym>.<acronym title="#GlossaryTerm#">ITS</acronym>, and ones which are wrapped in punctuation.
- Test link:
- <a href="/farcry/index.cfm><acronym title="#GlossaryTerm#">ITS</acronym></a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement