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,020 community submitted regex patterns...
1
S/O 73225392
PCRE2 (PHP >=7.3)
Replaces one style of markdown image with another
Submitted by
anonymous
-
2 years ago
0
Indian mobile number regex (substring)
PCRE2 (PHP >=7.3)
Match indian mobile number inside a string. Valid inputs 9207323601 8343434349 6790312345...
Submitted by
birla
-
2 years ago
0
Indian number plate lenient validator (for transformation) (vehicle registration number)
PCRE2 (PHP >=7.3)
lenient validator (for transformation) /\b([A-Z]{2})?([0-9]{1,2})?([A-Z]{0,3})*?([0-9]{4})\b/i Matches 4 groups like: 1) RJ 2) 02 3) FG...
Submitted by
Birla
-
2 years ago
(Last modified 2 years ago)
0
Finding and commenting uncommented console.log
ECMAScript (JavaScript)
Works in vsc for me and saves a lot of work!
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Add missing point in author list initials
ECMAScript (JavaScript)
Add some point missing to initials in a citation author list
Submitted by
Pierre Racine
-
2 years ago
0
Author first names to initials
ECMAScript (JavaScript)
Convert citation authors list from "Last_name, First_name" to "Last_name, F."
Submitted by
Pierre Racine
-
2 years ago
2
ULID
ECMAScript (JavaScript)
Match a ULID.
Submitted by
Matthew Gibbons (@accuser)
-
2 years ago
0
UUID (compact regular expression)
ECMAScript (JavaScript)
Matches a UUID using a compact regular expression.
Submitted by
Matthew Gibbons (@accuser)
-
2 years ago
0
cdn匹配图片
PCRE2 (PHP >=7.3)
保留
Submitted by
anonymous
-
2 years ago
0
Email Subject Search
PCRE2 (PHP >=7.3)
Use this in the Box Trapper to find specific words in the Subject line
Submitted by
anonymous
-
2 years ago
1
IP Address
Java 8
(^([0-9]{2,3}.)([0-9]{2,3}.)([0-9]{2,3}.)([0-9]{2,3})$)
Submitted by
anonymous
-
2 years ago
1
ISO 8601:2004E Duration
.NET 7.0 (C#)
Regex for validating ISO 8601:2004E durations, complete with named capture groups.
Submitted by
Sakura Akeno Isayeki
-
2 years ago
0
CRON SECONDS MINUTES
PCRE2 (PHP >=7.3)
EXPRESION FOR CRON SECONDS
Submitted by
JULIAN ANDRES CEDEÑO MORA
-
2 years ago
0
Điểm
PCRE2 (PHP >=7.3)
Điểm
Submitted by
anonymous
-
2 years ago
0
Tuổi
PCRE2 (PHP >=7.3)
Tuổi
Submitted by
anonymous
-
2 years ago
0
Họ tên VN
PCRE2 (PHP >=7.3)
Họ Tên VN
Submitted by
anonymous
-
2 years ago
1
RFC5322-Email-Id-WHATWG
ECMAScript (JavaScript)
RFC5322 with WHATWG standard email id regex pattern
Submitted by
Sivanesan
-
2 years ago
0
US Number (Match) [freeCodeCamp]
PCRE2 (PHP >=7.3)
It's easy to think about it section by section.
Submitted by
Alex
-
2 years ago
0
匹配错误的颜色表达式
PCRE2 (PHP >=7.3)
匹配错误的颜色表达式
Submitted by
anonymous
-
2 years ago
0
Regex nem TV
PCRE2 (PHP >=7.3)
unicode
Submitted by
anonymous
-
2 years ago
1
...
124
125
126
127
128
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
\b
(
[
A
-
Z
]
{2}
)
[^
A
-
Z0
-
9
]
*
?
(
[
0
-
9
]
{1,2}
)
[^
A
-
Z0
-
9
]
*
?
(
[
A
-
Z
]
{0,3}
)
[^
A
-
Z0
-
9
]
*
?
(
[
0
-
9
]
{4}
)
\b
/
gi
Open regex in editor
Description
lenient validator (for transformation)
/\b([A-Z]{2})[^A-Z0-9]*?([0-9]{1,2})[^A-Z0-9]*?([A-Z]{0,3})[^A-Z0-9]*?([0-9]{4})\b/i
Matches 4 groups like:
RJ
02
FG
5343
Will match:
RJ03QH3918
RJ 03QH 3918
RJ-03-QH-3918
MP,,,03-QH3998
Will not match:
MP,,01,03-QH3998
MP03QH399998
Submitted by
Birla
-
2 years ago
(Last modified 2 years ago)