Page 1 of 1

Wildcard replacement?

Posted: Tue Aug 14, 2007 10:43 pm
by ozo
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:

Re: Wildcard replacement?

Posted: Wed Aug 15, 2007 9:56 am
by Abacre
You may also use one string:

Code: Select all

// measure \d+