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-Z]{1}[a-z]{1,})$|^([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$|^([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$|^$
Description
Matches up to three alphabet words separated by spaces with first alphabet character of each word uppercase. Also matches empty strings.
Matches
Sacramento | San Francisco | San Luis Obispo
Non-Matches
SanFrancisco | SanLuisObispo | San francisco
Author Rating: The rating for this expression. Don Batchelor
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: 11231
Name: 12312313
Date: 7/27/2020 2:12:52 AM
Comment:
12312321123


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