Advertise with us

Sponsors

Expressions by User

Pulls out comments (both Rem and ') and string literals from VB or VBScript. Usefull for spell checking or review.
Notes: The VBScript for &quot;Rem&quot; documentation says that it must be followed by a space but VBScript seems to accept tab characters as well.
The multiline flag is assumed for this search.

Matches

' This is a comment | Rem This is a comment | &quot; This is a string with &quot;&quot; and ' &quot;

Non-Matches

&quot; This is not a string | RemThis is not a comment | This is not a comment or a string