Struggling with blacklist regex

t0mz

Member
Jan 20, 2022
42
6
13
25
I am trying to set up a blacklist entry for certain email addresses but don't seem to be able to find a regex which works.
I understand that my regex should cover the whole address but struggle to come up with a string which covers all email addresses beginning with 'dhl-'

Would really appreciate some help.

1676891319168.png
 
to match any substring in regex you need to use '.*' not just '*'

I hope this helps!
 
Thanks Stoiko, definitely did help!
'dhl-.*@*' seems to work!

Put it in and will monitor my log…