Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29748

I'm trying to delete everything but the email but I get the opposite

$
0
0

I tried to search in other questions here but none seem to work for me I'm using notepadd++ and i'm trying to remove everything but email from a email list where everything is in the same line.

Example:

| RONNAN FERREIRA | RENANRFCRON@GMAIL.COM 17933 | RONNE YAN CANAVARRO DE ASSIS |

This regex seems to select every email perfecly:

[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?

When i put $1 or \1 on "replace with" it just delete all the emails, i want it to do the opposite.


Viewing all articles
Browse latest Browse all 29748

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>