Jump to content
MDDHosting Forums

User-level filter using "matches regex": case insensitive. Need training


Recommended Posts

If I want to specify an action to be taken on emails whose subjects contain any of the strings "foo", "testosterone", or "diabetes" my impression is that I might specify "Subject matches regex" and ".foo|.testosterone|.diabetes". However, as I'm not formally regex-trained, I'm not sure whether "fOo" or "diaBeteS" will ignore the test. Is my test case-insensitive? (Yes, I DO know the inevitable "fo0" (with zero) and "tes-tos-_terone" will get by.)
Link to comment
Share on other sites

  • 1 month later...
Thanks, ericr. Also (after long and arduous search for a week) found (1) the "official" regex for email addresses [whew!] and (2) a rather more succinct version which has worked, so far, for me with an ORred list of often-abusing TLDs plus a gripe about two-letter TLDs...
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...