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 6
Title Test Details Phone Numbers
Expression
^(\d)(\s)(\d)*(-)(\d)*(-)(\d)*
Description
Matches any number following the 1 800 phone method. It's not 100% foolproof so please be wary - just wanted to present my legitimate, raw regex without having to look up anything on Stack Overflow. Thank you. Link to my GitHub: https://github.com/StoddardSpencer96
Matches
1 902-444-444 1 904-565-5555 1 419-444-4444 1 902-44-3333 (this one shouldnt match)
Non-Matches
23 904-5555-5555 1 902-44-3333 (this is where the number should be)
Author Rating: Not yet rated. Spencer Stoddard
Title Test Details Snake Hiss
Expression
([s]){10,}
Description
Matches the hissing noise of a snake. Link to my GitHub: https://github.com/StoddardSpencer96
Matches
ssssssssss wwwwwwwwwwwsssssssssssssssssss
Non-Matches
effsgrgrsfefsv54543534544 FKR$>%>??W?EK#$Krkdk3oror
Author Rating: The rating for this expression. Spencer Stoddard
Title Test Details "ing" Pattern
Expression
([ing]){3}$
Description
Matching any word that ends with "ing" Link to my GitHub: https://github.com/StoddardSpencer96
Matches
Reading Playing Comforting Crying
Non-Matches
Readings Listenings Playful Comfort
Author Rating: Not yet rated. Spencer Stoddard
Title Test Details Match All
Expression
(.*)
Description
Matches everything
Matches
Everything Yes 4k5k34k
Non-Matches
N/A
Author Rating: Not yet rated. Spencer Stoddard
Title Test Details Email Regex
Expression
([A-Za-z09.@])
Description
Matches an email address. Link to my GitHub: https://github.com/StoddardSpencer96
Matches
Non-Matches
435345 ektke hello
Author Rating: Not yet rated. Spencer Stoddard
Title Test Details Phone Number
Expression
^([\d])([\s])([\d]){3}([-])([\d]){3}([-])([\d])*
Description
Matches the 1 800-8000 format. Link to Github: https://github.com/StoddardSpencer96
Matches
1 902-444-4444 1 405-543-3000 1 910-243-321
Non-Matches
1902-44-4-5-3-2-2 1 9023333333 1-902-3332222
Author Rating: Not yet rated. Spencer Stoddard
   Displaying page 1 of 1 pages; Items 1 to 6

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