First and Last

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Post Reply
Guest

First and Last

Post by Guest » Tue Feb 17, 2004 8:12 am

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

User avatar
DataMystic Support
Site Admin
Posts: 2203
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post by DataMystic Support » Tue Feb 17, 2004 9:23 pm

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.
Regards,

Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads

Post Reply