0

Given the following test string:

one two Three   FouR    fiVe    SiX 7even   eit nine    TEN e1eVen  tWelve  13

this regular expression

^([^    ]*)(?:  ([^ ]*))?(?:    ([^ ]*))?(?:    ([^ ]*))?(?:    ([^ ]*))?(?:    ([^ ]*))?(?:    ([^ ]*))?(?:    ([^ ]*))?(?:    ([^ ]*))?(?:    ([^ ]*))?(?:    ([^ ]*))?(?:    ([^ ]*))?(?:    ([^ ]*))?$

and this substitution string

$19 $10

I am looking to get the contents of a column and add a number after it, as shown in this demo

My expected result is one9 one0

However, as you can see, in the case of $10 in the substitution string, it is taking the 0 as part of the column number

I tried escaping the 0, like this $19 $1\0, but that did not work

Any help would be appreciated

fionpo
  • 161
  • 7

0 Answers0