I have a very long text file full of email adresses, from an export of a newsletter db. To import them in another system I need to have these adresses separated by a comma.
I'm trying to do a search/replace using regex. So far I can find the last character of each line with :
[^\n]$
So that's for my "Search" field. But I don't know with what to put into "Replace". I'm very new to regex, is there a wildcard that would allow to do something like :
[any characted found],
You could search for ([^\n])$
and replace it by \1,
– depending on your RegEx engine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With