replace expression /10 ??

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Alfonso Andaur L.

replace expression /10 ??

Post by Alfonso Andaur L. »

Hello,

My problem is in replace command:

The "find expression" is

^\([0-9]\{3\}\)\([0-9]\{6\}\) ..bla...bla... \(.\{7\}\)\(.\{100\}\)

if it used \1\t\2\t\3\t\4\t\5\t\6\t\7\t\8\t\9\t as a "replace expression" it work ...

but if it used \1\t\2\t\3\t\4\t\5\t\6\t\7\t\8\t\9\t\10 it doesn't work.

How use the partions \10 \11 or >

How can i resolve this problem.

thanks.
Ed

Re: replace expression /10 ??

Post by Ed »

The problem you have is that in the world of regular expressions there is a limit of 9 replacement entities (see help/"replacement expressions").

You will need a different approach - possibly two (or more) passes to solve your problem.

If you post an example of "before" and "after" text I'm sure someone will figure out what to do.
Post Reply