What am I missing???
Posted: Thu Sep 11, 2008 5:50 pm
I have numerous text files that contain the following values at the beginning of various lines:
22;xxxx;x;x;..........
I want to replace specific values between each semi-colon for every occurrence regardless of the current values.
I find the records just fine using regular expressions as follows:
\n22;*;*;*;
but when I try to replace the values I want they are inserted rather than replacing the values.
Example: Found 22;XXXX:YY;Z; replace = \n22;AAAA;BB;C;
updated data 22;AAAA;BB;C;XXXX;YY;Z
I'm sure its a simple solution, but I can't seem to find it.
Thanks
22;xxxx;x;x;..........
I want to replace specific values between each semi-colon for every occurrence regardless of the current values.
I find the records just fine using regular expressions as follows:
\n22;*;*;*;
but when I try to replace the values I want they are inserted rather than replacing the values.
Example: Found 22;XXXX:YY;Z; replace = \n22;AAAA;BB;C;
updated data 22;AAAA;BB;C;XXXX;YY;Z
I'm sure its a simple solution, but I can't seem to find it.
Thanks