![]() |
Reg Expression Q: How to revere match literal string?
I want to search for line breaks, but excluding certain ones. eg.
I want to search for "abc\r\nABC" or "<abc>\r\n<ABC>"... ...but I do not want to include "<ul>\r\n<li>" or "</li>\r\n<li>" So what I need is to reverse match strings. A '^' in a character class only negates a single character, not a string. Any idea for me how to achieve this? Thanks. I could have some mental block if this turns out to be something very simple.:) |
Negate a match with (^string)
|
Quote:
|
Just want to report back.
What I wanted to do can be done using "lookforward" and "lookback". |
All times are GMT. The time now is 01:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|