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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 6,080 community submitted regex patterns...
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
Họ tên VN
PCRE2 (PHP >=7.3)
Họ Tên VN
Submitted by
anonymous
-
2 years ago
0
Tuổi
PCRE2 (PHP >=7.3)
Tuổi
Submitted by
anonymous
-
2 years ago
0
Điểm
PCRE2 (PHP >=7.3)
Điểm
Submitted by
anonymous
-
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
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
0
cdn匹配图片
PCRE2 (PHP >=7.3)
保留
Submitted by
anonymous
-
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
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
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
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
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
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
Regex Dates on Data X
PCRE2 (PHP >=7.3)
Regex Dates on Data X 1700-01-01 to 4000-12-31
Submitted by
Miguel Ramos
-
2 years ago
0
스마트스토어 필터링
PCRE2 (PHP >=7.3)
ㅌㅌ
Submitted by
anonymous
-
2 years ago
0
price with two decimals
ECMAScript (JavaScript)
test
Submitted by
anonymous
-
2 years ago
0
Unique graphql pagination update
PCRE2 (PHP >=7.3)
Unique graphql pagination update
Submitted by
Amos
-
2 years ago
0
TESTO denro tag
PCRE2 (PHP >=7.3)
r
Submitted by
anonymous
-
2 years ago
0
Phone (rus)
PCRE2 (PHP >=7.3)
Russian phone number
Submitted by
anonymous
-
2 years ago
0
Node node_modules library exceptions
PCRE2 (PHP >=7.3)
Tests for excluding certain node_modules when
Submitted by
anonymous
-
2 years ago
1
...
252
253
254
255
256
...
304
Author first names to initials
0
Regular Expression
ECMAScript (JavaScript)
/
(?<=
,
\s
*
)
(?:
(
[
A
-
Z
]
)
\.
?
[
a
-
üA
-
Z{
\\
'}
]
*
(?:
(
-
)
|
)?
)
(?:
(
[
A
-
Z
]
)
(
\.
?
)
[
a
-
üa
-
zA
-
Z{
\\
'}
]
*
(?:
(
-
)
|
)?
)?
(?:
(
[
A
-
Z
]
)
(
\.
)?
[
a
-
zA
-
Z{
\\
'}
]
*
(?:
(
-
)
|
)?
)?
(?=
and
|
$
)
/
gm
Open regex in editor
Description
Convert citation authors list from "Last_name, First_name" to "Last_name, F."
Submitted by
Pierre Racine
-
2 years ago