code_junkie

Match an end html tag if start tag is not present

Nov 12th, 2011
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. ddd d<STRONG>dfdsdsd dsdsddd<EM>ss</EM>r and</EM>and strong</STRONG>
  2.  
  3. (?!=<EM>.*)</EM>
  4.  
  5. (?<!<EM>[^<]+)</EM>
Add Comment
Please, Sign In to add comment