RegExp complete line

Open discussion about WinMerge.

RegExp complete line

Postby rasmon » Sat Aug 27, 2011 12:34 am

Hi All,

I am new to WinMerge and Regular Expression. I am trying to compare two text files and want to filter out complete lines that have specific text in them. For example, the lines might say something like:

Code: Select all
xyz.txt,3.4.8,324090
abcdefgh mmdb.TXT,9.4.89,2308
xrmo.dat,42.5.667,294


With the above example I might want to filter out any lines of text that have ".txt" anywhere in the line (upper or lower case). I thought the following would work, but it does not seem to filter out the rows from either side of the comparison:

Code: Select all
^.*\.txt.*$


Any ideas what I am doing wrong? Thanks!
rasmon
 
Posts: 1
Joined: Sat Aug 27, 2011 12:24 am

Return to Open Discussion

Who is online

Users browsing this forum: No registered users and 14 guests

cron