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

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Word Limit validation
Expression
(((^\s*)*\S+\s+)|(\S+)){1,5}
Description
This is used to validate a word count of input with an asp.net RegularExpressionValidator.
Matches
Hello, this is five words
Non-Matches
Hello, this is not five words
Author Rating: Not yet rated. Iain wade
   Displaying page 1 of 1 pages; Items 1 to 1

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