Hi,
I'm trying to extract string "domain.com" from <mail@domain.com>
How can i extract string between "@" and ">" ?
Thx
Hi @DavideASR,
please try this,
| rex "@(?<domain>[^\<]+)"
that you can test at https://regex101.com/r/Bffr7q/1
if you have the above value in another field (e.g. email), you could use
| rex field=email "@(?<domain>[^\<]+)"
Ciao.
Giuseppe
Hi @DavideASR,
please try this,
| rex "@(?<domain>[^\<]+)"
that you can test at https://regex101.com/r/Bffr7q/1
if you have the above value in another field (e.g. email), you could use
| rex field=email "@(?<domain>[^\<]+)"
Ciao.
Giuseppe