I need to change
1 A
2 B
3 C
4 D
to
A
B
C
D
which means that the decimal letter at the beginning of each line and the next one or more spaces should be removed.
I am only familiar with Reqex in Perl, so I am trying to use:% s / ^ \ d \ s + // to solve my problem, but this will not work. so can any of you tell me how to get the job done with vim?
thanks.
source
share