regexp replace error

Tool for Search and Replace across multiple files.
Post Reply
User avatar
frillu

regexp replace error

Post by frillu »

Hi!
good prog but i've found a problem:
searching for the expression "^.*something" it substitutes only "something" and not everything starting from the beginning of the file. it'll be great if you'll fix it.
tnx
User avatar
DV

Post by DV »

Hi
In TextCrawler's reg ex implementation the dot '.' doesn't match across new lines.

Try:
[\s\S]*something

This should match everything up to the end of 'something'.
Post Reply