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
IP6 Validator Address (Simple)
PCRE2 (PHP >=7.3)
Short form validation of an IP6 address Less complex than other examples I have seen around
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
odev 1
PCRE2 (PHP >=7.3)
odev
Submitted by
anonymous
-
2 years ago
0
Date validation in yyyy-mm-dd format
ECMAScript (JavaScript)
Comes with choice of four separators
Submitted by
Regular-Expressions.info
-
2 years ago
0
Graphql parser for pretty printing
Python
Parse Graphql queries Changelog (versions): Initial Version 2 is much improved and intended to integrate well with customized highlighting with the help of the awesome Rich library....
Submitted by
iwconfig
-
2 years ago
-1
Extract favicon from html head meta links
ECMAScript (JavaScript)
I needed a generic way to pull the shortcut icon for sites. This expression parses the html for the icon. If the icon was not found, my code checks for the "favicon.ico" in the root of the site.
Submitted by
groundh0g
-
2 years ago
0
Time Regex
ECMAScript (JavaScript)
time
Submitted by
12944qwerty
-
2 years ago
0
Parse AWS RDS Releases
Python
Parse AWS RDS Releases
Submitted by
anonymous
-
2 years ago
0
regex dont look pls
PCRE2 (PHP >=7.3)
asdfasdfasdg
Submitted by
anonymous
-
2 years ago
0
convert number to Lakh format
PCRE2 (PHP >=7.3)
converts a number to Lakh format, e.g: 123456789 == 12,34,56,789 breakdown: twelve crore thirty-four lakh fifty-six thousand seven hundred and eighty-nine
Submitted by
anonymous
-
2 years ago
0
printf C99
PCRE2 (PHP >=7.3)
A regex that matches the printf C99 standard
Submitted by
renardfute
-
2 years ago
0
Laugh Match
PCRE2 (PHP >=7.3)
match laugh texts
Submitted by
cool66
-
2 years ago
0
Regular expression for positive number with 2 decimals used for displaying money
Java 8
I think from time to time we all need a regular expression for displaying numbers with 2 decimals for displaying money of various currencies in the world. This regex should only allow 1 dot or comma as a decimal separator. And only allow positive numbers and the numbers can't begin with a 0. Goals:...
Submitted by
Remzi Cavdar
-
2 years ago
(Last modified a year ago)
0
Regex range price
ECMAScript (JavaScript)
Regex range price
Submitted by
anonymous
-
2 years ago
0
cert
PCRE (PHP <7.3)
cert regex
Submitted by
anonymous
-
2 years ago
2
Good enough IPv6
PCRE (PHP <7.3)
A good enough approximation to IPv6 based on the examples at https://www.ibm.com/docs/en/ts3500-tape-library?topic=functionality-ipv4-ipv6-address-formats
Submitted by
mig8447
-
2 years ago
0
Trim Full Terrestrial Channel
PCRE2 (PHP >=7.3)
.
Submitted by
anonymous
-
2 years ago
0
Find ID
Python
a
Submitted by
Shaqalito
-
2 years ago
0
^[가-힣a-zA-Z\d\-_\/\~\!\@\#\$\%\^\&\*\(\)\+\?\[\] ]+
PCRE2 (PHP >=7.3)
^[가-힣a-zA-Z\d\-_\/\~\!\@\#\$\%\^\&\*\(\)\+\?\[\] ]+
Submitted by
anonymous
-
2 years ago
0
Oauth2 client token matcher
Java 8
Grep the token value for almost any JSON response containing an oauth2 token as describe in rfc6749
Submitted by
Pharaphara
-
2 years ago
0
4 Groups from JSON
PCRE2 (PHP >=7.3)
4 Groups from JSON
Submitted by
Erik Leiren
-
2 years ago
1
...
103
104
105
106
107
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
-----BEGIN
(?:
PUBLIC
)?
KEY-----
(
\n
|
\r
|
\r\n
)
(
[
0
-
9a
-
zA
-
Z+
\/
=
]
{64}
(
\n
|
\r
|
\r\n
)
)*
(
[
0
-
9a
-
zA
-
Z
\+\/
=
]
{1,63}
(
\n
|
\r
|
\r\n
)
)?
-----END
PUBLIC
KEY-----
)
/
gm
Open regex in editor
Description
cert regex
Submitted by
anonymous
-
2 years ago