I feel certain that this sort of question will have been asked before, but I just can't find it! So sorry about that...
I have a couple of substitutions that replace e.g. \n with line-break tags and \t with several non-breaking spaces. However I would like to make the regexs not match for anything enclosed in pre tags tags.
e.g. currentlyI guess a lookahead would handle the first condition (i.e. don't match if preceded by a pre tag and/or a bunch of arbitrary other-characters, but that won't work with a lookbehind, because they can't be an arbitrary length right? So I'm a little stuck...
Cheers,
JJ
In reply to regex in form !regex->regex<-!regex by forestcreature
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |