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 2
Title Test Details Pattern Title
Expression
^[1]$|^[3]$|^[4]$|^[6]$|^[1]0$
Description
This will match single numbers,the first block [1346] checks for single digits of 1, 3, 4 or 6, could easily by [1-5] as well. The second block [10] checks for 10 only. This matches inclusively.
Matches
1 | 4 | 10
Non-Matches
13 | 2 | 0
Author Rating: Not yet rated. Josh Crosby
Title Test Details Pattern Title
Expression
^[A]$|^[C]$|^[D]$|^[F]$|^[H]$|^[K]$|^[L]$|^[M]$|^[O]$|^[P]$
Description
This is for matching Single uppercase Letters inclusively
Matches
A | F | P
Non-Matches
a | b | cd
Author Rating: Not yet rated. Josh Crosby
   Displaying page 1 of 1 pages; Items 1 to 2

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