Using RE to find and replace any ZIP code - but is inserting
Posted: Sat Oct 01, 2005 12:13 am
Hi - I'm having a heckuva time getting a regular expression to actually replace a ZIP code in a file. So far, I've only managed to insert the desired ZIP, so now my file is invalid for my parser.
Example:
Starting value: ZipCode|06472
Batch replace: Search For:
ZipCode|/d
Replace With:
ZipCode|77625
Actual Output:
ZipCode|77625|06472
I'm not sure if there's something wrong with the structure of the regular expression or if it's a setting in AFR. Thanks in advance.
Example:
Starting value: ZipCode|06472
Batch replace: Search For:
ZipCode|/d
Replace With:
ZipCode|77625
Actual Output:
ZipCode|77625|06472
I'm not sure if there's something wrong with the structure of the regular expression or if it's a setting in AFR. Thanks in advance.