Wildcard replacement?

General discussions about Advanced Find and Replace
Post Reply
ozo
Posts: 1
Joined: Tue Aug 14, 2007 10:37 pm

Wildcard replacement?

Post by ozo » Tue Aug 14, 2007 10:43 pm

Hi all, i'm a noob to this great tool.

I have a file like this....

Code: Select all

  // measure 1
0000
0202
0000
0000
,  // measure 2
0000
0000
0000
0000
,  // measure 3
0000
0000
0000
0000
,  // measure 4
0000
0000
0010
0000
0010
0000
0000
1000
0000
0000
0010
0000
0010
0000
0000
1000
,  // measure 5
0000
0000
0010
0000
0010
0000
0000
1000
0000
0000
0010
0000
0010
0000
0000
1000
,  // measure 6
0000
0000
0010
0000
0010
0000
0000
1000
0000
0000
0010
0000
0010
0000
0000
1000
I need to get rid of "// measure #"

But, i havent been able to figure out how to get rid of all the // measure with numbers and all.

And help?

Thanks in advance,
ozo


EDIT: Well, i figured out some... I did a batch replace searching for

// measure \d\d\d
// measure \d\d
// measure \d

It seems to work fine for my needs!
:mrgreen:

Abacre
Site Admin
Posts: 1201
Joined: Mon Jan 31, 2005 5:32 pm
Contact:

Re: Wildcard replacement?

Post by Abacre » Wed Aug 15, 2007 9:56 am

You may also use one string:

Code: Select all

// measure \d+ 
Kind regards,
Abacre Limited
http://www.abacre.com
support@abacre.com

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 6 guests