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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
(^[a-zA-Z][a-zA-Z0-9_]*)|(^[_][a-zA-Z0-9_]+)
Description
This pattern can be used for validating a string as a valid element name (e.g. variable or class name) in Microsoft .NET. See also http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcn7/html/vbconelementnames.asp
Matches
var | _withunder_score99 | TeSt
Non-Matches
_ | 123abc | 9
Author Rating: Not yet rated. Howard Richards
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: I think you made a mistake
Name: someone
Date: 3/17/2009 8:19:38 AM
Comment:
Matches _____ lol


Title: I think you made a mistake
Name: someone
Date: 3/17/2009 8:16:42 AM
Comment:
Matches _____ lol


Title: I think you made a mistake
Name: someone
Date: 3/17/2009 8:11:38 AM
Comment:
Matches _____ lol


Title: I think you made a mistake
Name: someone
Date: 3/17/2009 8:09:33 AM
Comment:
Matches _____ lol


Title: I think you made a mistake
Name: someone
Date: 3/17/2009 8:08:08 AM
Comment:
Matches _____ lol


Title: I think you made a mistake
Name: someone
Date: 3/17/2009 8:07:16 AM
Comment:
Matches _____ lol


Title: I think you made a mistake
Name: someone
Date: 3/17/2009 8:07:10 AM
Comment:
Matches _____ lol


Title: I think you made a mistake
Name: someone
Date: 3/17/2009 8:07:10 AM
Comment:
Matches _____ lol


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