Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Regular Expression Assistance

Using a C350 for Email Encryption Only

I have a regular expression that searches for a number format that could match a medical record number, among other numbers. Getting many false positives due to a matching number being found in many places in the html tags of the email.

Anyone have any good ideas on how to eliminate this? I have quite a few negative lookbehind and negative lookaheads in there already to look for dashes, backslashes, slashes, etc., but still can't weed them all out.

Thanks!

3 REPLIES
New Member

Re: Regular Expression Assistance

Can you paste in some examples of what you're trying to match against?


Using a C350 for Email Encryption Only

I have a regular expression that searches for a number format that could match a medical record number, among other numbers. Getting many false positives due to a matching number being found in many places in the html tags of the email.

Anyone have any good ideas on how to eliminate this? I have quite a few negative lookbehind and negative lookaheads in there already to look for dashes, backslashes, slashes, etc., but still can't weed them all out.

Thanks!

Re: Regular Expression Assistance

Not sure if you're using it but Kodos is a great little tool I use for quickly testing out reg expressions.

More information from: http://kodos.sourceforge.net/

New Member

Re: Regular Expression Assistance

Looks nice.
Another tool that we use to test Regular Expressions is called "The Regulator", hosted on sourceforge.net as well. You can find the homepage with some screenshots here: http://tools.osherove.com/CoolTools/Regulator/tabid/185/Default.aspx

276
Views
0
Helpful
3
Replies
CreatePlease login to create content