Page 1 of 1

Finding a string, and keeping the number...

Posted: Tue Apr 26, 2005 2:31 pm
by jevticpd
Hello all,

If I have this:

test{123} or test{345}

I want to match the text and the braces, but preserve the numeric portion of the string.

so, my search would be:

but what would I put in the replace section? Whould I use a varable?



Posted: Wed Apr 27, 2005 6:26 pm
by DataMystic Support
No, your search would be

test{[ capture( 1+ digits ) ]}

Replace with