#6524

dreftymac
Participant

Hello nickb,

Try taking the line that says:

re = new RegExp( “.*” + sFind + “.*” );

… and change it to this …

re = new RegExp( “.*” + sFind + “.*” , “i”);

This should tell the regular expression matcher to ignore case.

For more details see :
http://www.regular-expressions.info/javascript.html
or search microsoft.com for “jscript reference” “regexp”

HTH