02-26-2008 01:09 PM
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!
02-26-2008 03:14 PM
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!
03-03-2008 04:42 AM
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/
03-03-2008 01:30 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide