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...
0
Match all html tags
PCRE (PHP <7.3)
no description available
Submitted by
Kostas Trichas
-
10 years ago
0
Single dollar delimited LaTeX equation
Python
Find single dollar delimited LaTeX equations, for use with e.g. KateX
Submitted by
drewsberry
-
10 years ago
0
phone number (simple validate)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
Challenge: Create regular expression that matches the following urls
PCRE (PHP <7.3)
Note the 2 lines separated urls. These should NOT match
Submitted by
kostas trichas
-
10 years ago
0
Share?
PCRE (PHP <7.3)
Test
Submitted by
test
-
10 years ago
0
number with or without thousands separator(.) and decimal part(,)
PCRE (PHP <7.3)
number with or without thousands separator(.) and decimal part(,) ES: 100000; 1.646; 13323,33; 3.444.434,44
Submitted by
Basten
-
10 years ago
0
webongo
PCRE (PHP <7.3)
webongo test
Submitted by
webongo
-
10 years ago
0
Hostname-Match not found
PCRE (PHP <7.3)
I'm trying to match a hostname input with the following properties: a-z A-Z 0-9 : - are allowed ; doesnot start or end with - ; "." can be used to separate different labels of the hostname. But gives no match for this regex: ^(a-zA-Z0-9|(?<!-)\.(?![-.]))[a-zA-Z0-9]+)?)$ ...
Submitted by
Revathy
-
10 years ago
0
DOI matcher
Python
Matches any valid DOI
Submitted by
jpowell
-
10 years ago
0
Page Hangs in Chrome/Shows TIMEOUT on regex101.com
PCRE (PHP <7.3)
I have a regex like this: /^(A-Za-z0-9)([\.\_]?[A-Za-z0-9-]+)(\.[A-Za-z]{2,6})+(\/A-Za-z+)*$/ and I want to test the string like: webmail.google.com.qqqqqqqqqqqqqqqqqqq....... But it shows TIMEOUT. I know that string is invalid for given regex. But I do this because when I input this string and ma...
Submitted by
sam
-
10 years ago
0
search h1 tag html
PCRE (PHP <7.3)
(.*?) example: Your best title
Submitted by
otharwa
-
10 years ago
0
Unicode alpha-numeric regex
PCRE (PHP <7.3)
Tests for all unicode language characters and number. Excludes any sentence joining characters etc.
Submitted by
Jamie
-
10 years ago
0
first regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Domain Name .CZ - only 2th level format
PCRE (PHP <7.3)
Valid only for something.cz, some-thing.cz, 2245exampl.cz ... Not-valid for -some.cz, here.com.cz ...
Submitted by
Pavel Ondřej
-
10 years ago
0
GlobalRange-phone-fax
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
e164_basic
PCRE (PHP <7.3)
e164_basic
Submitted by
anonymous
-
10 years ago
0
Validate date
PCRE (PHP <7.3)
Validate date in format dd/mm/yyyy dd.mm.yyyy dd-mm-yyyy or dd/mm/yy dd.mm.yy dd-mm-yy GetFrom -> http://stackoverflow.com/questions/15491894/regex-to-validate-date-format-dd-mm-yyyy
Submitted by
Dilakv
-
10 years ago
0
test
Python
no description available
Submitted by
anonymous
-
10 years ago
0
asf
PCRE (PHP <7.3)
asfd
Submitted by
asdf
-
10 years ago
0
rwe
PCRE (PHP <7.3)
rwerw
Submitted by
rwerw
-
10 years ago
1
...
22
23
24
25
26
...
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