Page 1 of 1

First and Last

Posted: Tue Feb 17, 2004 8:12 am
by Guest
Hello,

Will this work if I am searching multiple files (on a network drive that are randomly named with .PLD extension) for the first and last instance of a string (that always begins in "1Z") in each file searched?

Thank you,

Rafael

Posted: Tue Feb 17, 2004 9:23 pm
by DataMystic Support
Yes - can do.

Use a pattern of

1Z(*?)1Z

to match it - then you can replace it with something. If your strings are more than 4KB apart you will have to increase the maximum match size.