>Hi,
>
>I have a huge text file, could exceed 130 MB and I would like to search for specific string in this file and replae it with other string.
>EX. find "AD00" and replace it with "BR77".
>
>any ideas how can I do that in VFP
If you can load the file with FILETOSTR(), you could then use the Regular Expression Parser (if not (STRTRAN()), to make the changes.
See the VFUG newsletter (
www.vfug.org), January 2003 (I think) for the last in the series of articles on the Windows Script Host that I wrote with the late (great) Ed Rauh.
George
Ubi caritas et amor, deus ibi est