cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
lanuser88
Engaged Sweeper II

I sent this into support thought I'd ask here as well.

We have a process that sends out automated emails from another system that we would like to capture emails as tickets that only contain ‘has received the requisite number of approvals’ in the body of the email.

Initial emails sent by the system will have ‘A new "PCB" has been published.’ Or ‘"PCB-27771" has been re-published.’. with the numbers changing in the body of the message

I’ve added 2 regular expressions in the ignore content filter.

  • new.*"PCB".*published 
  • "PCB-[0-9]+"(\s([a-zA-Z]+\s)+)re-published

However, the emails are not being ignored and tickets are being created. I also tested the reg ex using the tester link you added to the GUI and it shows that they  match.

1 ACCEPTED SOLUTION
lanuser88
Engaged Sweeper II

We found the issue... ascii character for quotes it was not liking.

View solution in original post

3 REPLIES 3
Obi_1_Cinobi
Lansweeper Tech Support
Lansweeper Tech Support

Hello there!

We are glad that you found the issue and that you shared the solution with us!

lanuser88
Engaged Sweeper II

We found the issue... ascii character for quotes it was not liking.

rader
Champion Sweeper III

I'm not an expert on regex, but couldn't you simplify the ignore expression to PCB* and use that?

Testing with the online as well as the embedded test field shows that it detects both your email body examples.