I’m trying to match body of e-mail with following pattern
condition
Body @micr
e-mail headers
X-OTRS-CustomerNo Microsoft
The trick is I would like to set this as case insentitive so could use @Micr, @miCr or whatever. Unfortunately can’t find RegEx which would actually work. From tester looks it should be:
/\@\bmicr\/i
But this doesn’t work. Could you advise please?
RegEx for PostMaster filter
Moderator: crythias
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: RegEx for PostMaster filter
I believe the case is insensitive anyway. If not, [mM][iI][cC][rR][oO][sS][oO][fF][tT] is an option.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask