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,000 community submitted regex patterns...
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
IP Address Validator
Java 8
Validates IPv4 Address for Java
Submitted by
krzysp, jpalvesloiola
-
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
extended nginx log format
PCRE (PHP <7.3)
log_format timed '$http_x_forwarded_for - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$remote_addr" ' '$request_time $upstream_response_time $pipe';
Submitted by
Pei-Tang Huang
-
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
0
define_1
ECMAScript (JavaScript)
1
Submitted by
anonymous
-
2 years ago
0
Match a line that doesn't contain a word
ECMAScript (JavaScript)
Match a line that doesn't contain a word
Submitted by
xiaoyang
-
2 years ago
0
B1 - Invert First_name and Last_name in a citation author list
ECMAScript (JavaScript)
Convert a citation author list from Pierre Racine and Luc Lauzon and Daniel Lesieur to ...
Submitted by
anonymous
-
2 years ago
0
Host Regex
PCRE2 (PHP >=7.3)
Get any hostname
Submitted by
anonymous
-
2 years ago
0
Postgresql JDBC URI
Java 8
Formats jdbc:postgresql:database jdbc:postgresql:/ jdbc:postgresql://host/database jdbc:postgresql://user:password@host/database...
Submitted by
fantabulum
-
2 years ago
1
...
508
509
510
511
512
...
900
Community Library Entry
0
Regular Expression
Python
r"
(
(
(
[^
]
+
)
+
(
me
debe
)
+
(
\d
+
)
*
(
[^
]
+
)?
*
(
(
del
?
|
por
?
e
?
l
?
)
+
(
.
+
)
)?
)
|
(
(
le
debo
)
+
(
\d
+
)
*
(
[^
]
+
)?
*
(
a
(
[^
]
+
)
)
*
(
(
del
?
|
por
?
e
?
l
?
)
+
(
.
+
)
)?
)
|
(
(
le
debo
)
+
(
\d
+
)
*
(
[^
]
+
)?
*
(
(
del
?
|
por
?
e
?
l
?
)
+
(
.
+
)
)?
(
a
(
[^
]
+
)
)
)
)
"
g
Open regex in editor
Description
Add debts to Hanzo
Submitted by
anonymous
-
6 years ago