View Single Post
  #1  
Old 06-28-2004, 12:16 AM
pyang pyang is online now
Registered User
 
Join Date: 12-23-2003
Posts: 33
Replace in File query

Hi,

I'm trying to replace 2 strings in a text file. How do i do a wild search for both the strings?

Example:

String1=Testing 1234
String2=blahblahblah 456

Replace with
String1=Testing 0987
String2=blahblahblah 122

I've tried using:
To find
String1=[[^\n"]]*
String2=[[^\n"]]*

replace with
String1=Testing 0987
String2=blahblahblah 122

pls advice. Thank you.

rgds,
py
Reply With Quote