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
P4 file info
.NET 7.0 (C#)
just p4 file command output match
Submitted by
anonymous
-
2 years ago
1
Group first letter, Group Remaining letters, Group White space
PCRE (PHP <7.3)
first groups all white space $1 second groups all first letter of every word except capitals third groups remaining letters
Submitted by
slimelord
-
2 years ago
0
test
Java 8
test
Submitted by
anonymous
-
2 years ago
0
Phone Format ( FORK )
PCRE (PHP <7.3)
f
Submitted by
anonymous
-
2 years ago
-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
1
...
101
102
103
104
105
...
900
Community Library Entry
1
Regular Expression
Python
r"
(
a
|
b
)*
c
(
a
|
b
)*
|
c
(
a
|
b
)*
|
(
a
|
b
)*
c
"
Open regex in editor
Description
1b
Submitted by
ziul
-
9 years ago