Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,040 community submitted regex patterns...
3
HH:MM:SS
ECMAScript (JavaScript)
Validates 00:00:00 to 23:59:59
Submitted by
anonymous
-
9 years ago
3
youtube id und link
ECMAScript (JavaScript)
no description available
Submitted by
ogerly
-
9 years ago
3
hj
PCRE (PHP <7.3)
hj
Submitted by
hj
-
9 years ago
3
Match a URL from a text message
ECMAScript (JavaScript)
I use this to match the first url present in a text message.
Submitted by
anonymous
-
9 years ago
3
URL Regex (protocol strict)
ECMAScript (JavaScript)
Includes resource strings, taken from here: https://gist.github.com/dperini/729294
Submitted by
Diego Perini
-
9 years ago
3
currency
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
Invalid Unicode characters in XML
PCRE (PHP <7.3)
This pattern matches all the Unicode characters that are not allowed in an XML document. It's based on the Wikipedia article "Valid characters in XML".
Submitted by
Aaron Wells
-
9 years ago
3
Currencies
PCRE (PHP <7.3)
Matches numbers formatted like currencies
Submitted by
elgehelge
-
9 years ago
3
Perl
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
Forum user validation
PCRE (PHP <7.3)
Pedro al DAMS
Submitted by
giacomo
-
9 years ago
3
Nombres 4 chiffres
PCRE (PHP <7.3)
Nombres 4 chifres
Submitted by
EA
-
9 years ago
3
Shortcode parser
PCRE (PHP <7.3)
Parse shortcodes, its attributes values and html
Submitted by
anonymous
-
9 years ago
3
Arrow function to Normal function
ECMAScript (JavaScript)
Convert Arrow Function to Normal Function
Submitted by
Abhisek Pattnaik
-
9 years ago
3
SemVer chain parsing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
3
POST OFFICE BOX
PCRE (PHP <7.3)
no description available
Submitted by
jmweekes
-
9 years ago
3
Camel case to space-separated string
PCRE (PHP <7.3)
Takes any camel case and returns it plus spaces.
Submitted by
Rougeware
-
9 years ago
3
BOOLEAN EXPRESSION WITH BRACKETS MATCHER
PCRE (PHP <7.3)
comapre simbols used just !=, ==, =, beacose of task keyword "not" can be used only before leftside value beacose of task
Submitted by
Ilya Filisteev
-
9 years ago
3
ln -l linux parse
PCRE (PHP <7.3)
parse linux ln -l output command
Submitted by
guignol95
-
9 years ago
3
yyyy-MM-dd hh:MM
ECMAScript (JavaScript)
date format for "yyyy-MM-dd hh:MM" valid strict model.
Submitted by
image72
-
9 years ago
3
MySQL Full-Text BOOLEAN mode
PCRE (PHP <7.3)
Checks if an input string is compatible with the BOOLEAN mode of MySQL full text search system
Submitted by
greezybacon
-
9 years ago
1
...
884
885
886
887
888
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^.
+
?
?
,
?
(
A
[
LKSZRAP
]
|
C
[
AOT
]
|
D
[
EC
]
|
F
[
LM
]
|
G
[
AU
]
|
HI
|
I
[
ADL
N
]
|
K
[
SY
]
|
LA
|
M
[
ADEHINOPST
]
|
N
[
CDEHJMVY
]
|
O
[
HKR
]
|
P
[
ARW
]
|
RI
|
S
[
CD
]
|
T
[
NX
]
|
UT
|
V
[
AIT
]
|
W
[
AIVY
]
)
$
/
i
Open regex in editor
Description
Validation when city and state are like in format
city, state
Submitted by
Adu
-
11 years ago