Extracting domain from email address

I got some help from support and figured this out.

When input is an email address, this pattern extracts the domain and outputs as domain variable.

@{{domain:/\S+.*/}}

Also got help from this Developing and Debugging Regex for the Pattern Match Step

1 Like