Quote:
Originally Posted by Timur
Adding newlines in the character class will prohibit multiline matches in this case:
If you prefer it that way, you can augment the pattern with a look-behind assertion to get rid of the ">" character from the matched string:
|
Oof... feeling really silly. I didn't know you could exclude multiple characters, much less "\X" expressions...
Thanks to both of you for gently continuing my reg-ex education!