cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1488
Views
0
Helpful
3
Replies

Regular Expression Assistance

john.vincent
Level 1
Level 1

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 3

kluu_ironport
Level 2
Level 2

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!

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/

Pat_ironport
Level 1
Level 1

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: