Vote count:
0
I'm trying to modify lines that do NOT contain a pattern but does contain another pattern:
Table: tablename page.
Table: xxcellname
Whenever the word "Table" appears at the start of a line and the word "page" does NOT appear on the line, I want to replace "Table: " with white space. so that in the above example
Table: xxcellname becomes
cellname
and
Table: tablename page. Stays the same
I've tried using:
replace (^Table :)^((!?.*Page).)*$
with \2
Thanks in advance
asked 1 min ago
Notepad++ regular expression issue with non matching patterns
Aucun commentaire:
Enregistrer un commentaire