I've a collection of strings like that (each "space" is a tabulation):
29 301 3 31 0 TREZILIDE Trézilidé
2A 001 1 73 1 (LE) AFA (Le) Afa
What I want is to transform it into this:
29301 Trézilidé
2A001 (Le) Afa
- Suppression of the first tabulation
- suppression of the tabulations, numbers and the first uppercase occurrence (and replacement of the whole stuff by a space)
- replacement of the last tabulation by a space
My bigger problems are:
- How to select the first tabulation without selecting the "prefix" and the "suffix"? (like
^(..)\t[0-9]
but without selecting^(..)
nor[0-9]
) - How to select from after the 3 digits to after the tabulation of the uppercase word?
I do that in a text file with the search and replace toolbox of Notepad++
Thanks in advance for your help!