>>Hi all,
>>
>>I'm not up on RegExpressions, and want to do a search project wide looking for...
>>
>>any statement that has an IF statement with a double single-quote like...
>>
>>IF lcSomeVar = ''
>>
>>of course, it may be a space or a tab after the IF, and may have a space or tabs after the = sign...
>>
>
>I don't know how bullet proof this is (since it will find things on the same lines, things embedded in quotes, etc.) but it may work well enough for whatever you're doing:
>
>IF\s*\w+\s*=\s*''
I'd rather use
\bIF\b.*''
Gregory