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...
1
Phone Number
ECMAScript (JavaScript)
Between 8 and 10 Digits, no spaces
Submitted by
anonymous
-
9 years ago
1
Regex to match any JSON value with fewer steps possible
PCRE (PHP <7.3)
If you find... any JSON value that should be matched but isn't, any JSON value that should NOT be matched but is or simply a way to match the values with fewer steps... please, let me know.
Submitted by
anonymous
-
6 years ago
1
Detects hiragana, katakana, kanji and japanese alphabet
Recommended
PCRE (PHP <7.3)
Detects hiragana, katakana, kanji and japanese alphabet
Submitted by
anonymous
-
4 years ago
0
Markdown Inline Link to HTML Anchor
PCRE (PHP <7.3)
Extracts title and link from Markdown inline link to be placed into an HTML anchor tag.
Submitted by
Mike Johnson
-
11 years ago
0
Find email address in a string.
Python
no description available
Submitted by
anonymous
-
11 years ago
0
Password strength check
PCRE (PHP <7.3)
Checks password for following attributes: At least 2 uppercase letters At least 2 lowercase letters At least 2 numbers At least 2 non-alphanumeric characters ...
Submitted by
Visigral
-
10 years ago
0
full split URL by domain, path, params
ECMAScript (JavaScript)
no description available
Submitted by
memboc
-
9 years ago
-2
posix
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-1
Substitutin
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-1
woop
Python
no description available
Submitted by
anonymous
-
10 years ago
1
.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Match US Currency Amount
PCRE (PHP <7.3)
Group 1 has dollar amount with or without commas, Group 4 has optional cents.
Submitted by
anonymous
-
11 years ago
1
erferf
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
match hyphen between quotes
PCRE (PHP <7.3)
no description available
Submitted by
cetanu
-
11 years ago
1
non negative integers
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
-
11 years ago
1
Find common version names in filenames
PCRE (PHP <7.3)
no description available
Submitted by
Jared
-
11 years ago
1
Replaces odd number of quotes with even number of quotes.
PCRE (PHP <7.3)
no description available
Submitted by
ingredient_15939
-
11 years ago
1
Divisible by 3 numbers
PCRE (PHP <7.3)
no description available
Submitted by
Oleksandr Sochka
-
11 years ago
1
parse SQL statements and get values
PCRE (PHP <7.3)
but it does not work. How do I make it work? It will be used in C#
Submitted by
anonymous
-
11 years ago
1
javascript variable
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
1
...
52
53
54
55
56
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
CA_
[
A
-
Z
]
[
0
-
9
]
[
A
-
Z
]
\h
?
[
0
-
9
]
[
A
-
Z
]
[
0
-
9
]
|
US_
[
0
-
9
]
{5}
|
GB_
(?:
(?:
[
A
-
Z
]
[
0
-
9
]
|
[
A
-
Z
]
[
0
-
9
]
{2}
|
[
A
-
Z
]
{2}
[
0
-
9
]
|
[
A
-
Z
]
{2}
[
0
-
9
]
{2}
|
[
A
-
Z
]
[
0
-
9
]
[
A
-
Z
]
|
[
A
-
Z
]
{2}
[
0
-
9
]
[
A
-
Z
]
)
\h
?
[
0
-
9
]
[
A
-
Z
]
{2}
|
GIR
\h
?
0AA
)
/
Open regex in editor
Description
no description available
Submitted by
SB
-
9 years ago