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 invalid postcode
Python
match as long as not 5digit code
Submitted by
anonymous
-
9 years ago
0
space
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
ipv4 address
ECMAScript (JavaScript)
no description available
Submitted by
Xiaohui Xu
-
9 years ago
0
Split by character outside quotes
ECMAScript (JavaScript)
Splits text by a character which is not inside the quotes. Example: foo:"01":"02:03":"04:05:06":"07:08:09:10" ^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^
Submitted by
.iqqmuT
-
9 years ago
0
Multiple lines comment in Java
PCRE (PHP <7.3)
Begin with /* accept anything inside and finish with */
Submitted by
Wesley Ramos
-
9 years ago
0
Reads C-like comments
Python
Reads C comments as this "/* Do test / and removes / */ parts and leaves only comment part
Submitted by
Shuhrat Rahimov
-
9 years ago
0
NANP Phone Number Checker
PCRE (PHP <7.3)
Checks whether a North American Numbering Plan (NANP) phone number is valid. (Matching numbers are not necessarily real.) However, it registers 299-911-9999 as OK, even though it's not valid.
Submitted by
anonymous
-
9 years ago
0
find any URI/URL with no trailing slash v2
PCRE (PHP <7.3)
updated
Submitted by
-oneglory
-
9 years ago
0
IRC protocol arguments parsing
PCRE (PHP <7.3)
select and retrieve information form IRC client to client prefix
Submitted by
Kerosene2000
-
9 years ago
0
10
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
4
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Mobile Pattern
PCRE (PHP <7.3)
Simple Mobile Pattern
Submitted by
Saeed Tabrizi
-
9 years ago
0
To find all the text in a paragraph ignoring numeric and special chare
PCRE (PHP <7.3)
no description available
Submitted by
srinath
-
9 years ago
0
select div like things
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
AAA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
isDate
ECMAScript (JavaScript)
Validador de Data e Hora
Submitted by
Rafael Fischer
-
9 years ago
0
isDateTime
ECMAScript (JavaScript)
Validação: Data d/m/yy d/mm/yyyy dd/m/yyyy dd/mm/yy...
Submitted by
Rafael Fischer
-
9 years ago
0
extract sql table name from request
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
GROUPS
PCRE (PHP <7.3)
YEAH
Submitted by
AWESOME
-
9 years ago
0
JAPANESE ZENKAKU KANA ONLY
ECMAScript (JavaScript)
NOT ALLOW HANKAKU CHARACTOR
Submitted by
nobuhiko futagami
-
9 years ago
1
...
347
348
349
350
351
...
902
Community Library Entry
0
Regular Expression
Python
r"
(?:
(?s)
\/\*
(
(?:
(?!
\*\/
)
.
)*
?
)
\*\/
)
"
Open regex in editor
Description
Reads C comments as this "/* Do test
/ and removes /
*/ parts and leaves only comment part
Submitted by
Shuhrat Rahimov
-
9 years ago