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-Z0-9\s.\-]+$
Description
ANY alphanumeric string with spaces, commas, dashes.
Matches
2222 Mock St. | 1 A St. | 555-1212
Non-Matches
[A Street] | (3 A St.) | {34 C Ave.}
Author Rating: The rating for this expression. Mart Maasikas
Source Steven Smith
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: A correction
Name: David
Date: 4/3/2013 5:24:07 PM
Comment:
The regular expression, as written, allows periods (NOT commas). A comma needs be placed where the period is presently.


Title: a correction
Name: Justin
Date: 12/6/2011 11:58:40 AM
Comment:
The description states it takes commas; it does not.


Title: ws
Name: ws
Date: 8/1/2010 6:09:46 AM
Comment:
Thanks


Title: earl
Name: jawad
Date: 4/28/2007 6:14:50 PM
Comment:
salut


Title: :)
Name: Fryni
Date: 8/8/2006 7:53:45 AM
Comment:
Finally found what I was searching for weeks!!!!!! Thanks!


Title: chhar zgell
Name: chhar zgell
Date: 2/24/2005 5:21:16 AM
Comment:
chhar zgell


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