Search found 3 matches

by Evil Bob
Mon Feb 16, 2009 4:27 am
Forum: General
Topic: re for dm
Replies: 12
Views: 2657

Re: re for dm

zarfDLL.c(103) : Error: invalid simple type name destructor It looks like you are trying to capture the code inside the parenthesis. You could use: Find:::^[^\(]+\(([^)]+)\).+$ Replace:::Error: \1 This would replace the entire line with "Error: 103" using the example, and ignore all parenthesis ...
by Evil Bob
Sat Feb 14, 2009 5:16 pm
Forum: General
Topic: How do i replace tagged expression on OR conditional search
Replies: 6
Views: 583

You could always capture everything before the first comma.

POSIX Example:

Find:::^([^,]+),.+$
Replace:::\1

Or if you needed everything before a second comma...

Find:::^([^,]+,[^,]+),.+$
Replace:::\1
by Evil Bob
Sat Feb 14, 2009 4:05 pm
Forum: General
Topic: Finding Text on Multiple Lines
Replies: 7
Views: 1103

Re: Finding Text on Multiple Lines

Did anybody actually understand this set of instructions ? If so, please post them in English with complete sentences. What he said was, replace all newlines "\n" with a unique token, like ~1~, so that you can put the newline back afterwards... This will make your entire file one line of text ...