replace – How to put the same character in the beginning of all rows using regex?
I have a list of 10 digit numbers in a txt file.
I want to put the same character in the beginning of all rows using regex, without changing the numbers.
I also want to put the character at the end of all rows
For example a quote character '
Set of numbers as sample:
7101756638
7101756639
7107429322
7107429323
7108270737
7109747487
When I do this:
- Search for:
\d{10,10} - Replace with:
'\d{10,10}'
I get this:
'd{10,10}'
'd{10,10}'
'd{10,10}'
'd{10,10}'
'd{10,10}'
'd{10,10}'
Read more here: Source link
