Regex content filtering
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2021 11:46 PM
Hi,
i'm dealing with problem with dictionary filtering. I add regex term to dictionary blocked_dictionary which is used in Default Policy because i need to filter all incoming mails.
Regex term > \s(bc1|[13])[a-zA-HJ-NP-Z1-9]{25,39}\w
Problem is, that regex matching terms which starts without space character, for example:
JJT//
1fVUkkklNXNqFpraaDd9LUPLNvDeQW/SlVn
Definition > \s matches any whitespace character
I tested in regex101, regexr many times but every time without match. Is there any what i am doing wrong?
Thanks, have a nice day
- Labels:
-
Email Security

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2021 04:57 PM
Hey Analyst,
I looked into the rule and did some tests on my own and it seems to adhere what we see on regex101 as well. For your tests, are you able to share the body content you're using in the test?
Note: you can use the system admin -> trace functionality to run validations if needed
Depending on which item you ticked in your dictionary as well it may match slightly differently; however it has always worked for me on my testing.
Thanks,
Mathew
