RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
("[^"]*")|('[^\r]*)(\r\n)?
Description
Will match a VBScript string and/or comment Ex: ' userinfo strUsername = "tomsve" iAge = 20 ' temp strPassword = "halloj" ...Would result in the following matches: ' userinfo "tomsve" ' temp "halloj" Good luck! Tom S. [email protected]
Matches
"my string" | "a string with ' in it" | ' comment
Non-Matches
asd "
Author Rating: The rating for this expression. Tom Svensson
Source
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: An update
Name: Torbjörn Hansson
Date: 10/2/2006 4:35:54 AM
Comment:
("[^"]*?")|('[^\r\n]*?\r?\n)


Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials