Just Me Member Dec 9, 2016 #1 How can I set a regular expression in order not to send email to some domains? Ex. I dont want to send any emails to baddomain.com. Is this expession correct - /(.*)@baddomain\.com/i ?
How can I set a regular expression in order not to send email to some domains? Ex. I dont want to send any emails to baddomain.com. Is this expession correct - /(.*)@baddomain\.com/i ?
twisted1919 Administrator Staff member Dec 12, 2016 #2 @Just Me - it's easy to verify this at: https://regex101.com/r/QMYvPM/1 So your regex is just fine.