I am trying to replace all blanks in the 105th position with a zero but i am not doing something right.
Here is an example of a line i am working on. the 105th position is the blank in front of the 4. Right now the 4 gets replaced with a 0.
TROIS-RIVIERES SUBARU 4 02 D1
this is my find expression:
^(.{104}[[:blank:]]).
and my replace expression:
\10
it is replacing the next character rather than replacing the blank.
Help!
find blanks in the 105th postion and replace with a zero
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 10
- Joined: Wed Mar 12, 2008 2:33 pm
-
- Posts: 2459
- Joined: Sun Mar 02, 2003 9:22 pm