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
Web page URL
PCRE (PHP <7.3)
Validates an URL of a web page
Submitted by
Heinrich Reimer
-
9 years ago
1
filter range
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
apache log parser
Python
no description available
Submitted by
Claudio Borges
-
9 years ago
1
Empty string test
PCRE (PHP <7.3)
Regular for testing empty strings for validation purpose
Submitted by
anonymous
-
9 years ago
1
Camel case string splitter
PCRE (PHP <7.3)
Splits CamelCase single string into separate strings. Can be used for transforming CamelCase to snake_case. Also works with numbers and capital letter shortcuts (e.g SomeWTFVariable1).
Submitted by
Nicolas
-
9 years ago
1
json comment - first attempt
Python
no description available
Submitted by
Mark
-
9 years ago
1
java
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Address Match
Python
no description available
Submitted by
Awk
-
9 years ago
1
Check Date + time (DD/MM/YYYY HH:MM)
ECMAScript (JavaScript)
no description available
Submitted by
Mikael Georges
-
9 years ago
1
Alpha + Underscore
ECMAScript (JavaScript)
no description available
Submitted by
Sergio de la Garza
-
9 years ago
1
Xml/html regex
PCRE (PHP <7.3)
Common regex for use with xml/html files
Submitted by
wonzbak
-
9 years ago
1
FFXIV Lodestone Character profile
PCRE (PHP <7.3)
Parses full url up to character page. Ignores http:// and anything after character ID
Submitted by
JaveLiner
-
9 years ago
1
match non-alphanumeric in string
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
word matcher
ECMAScript (JavaScript)
no description available
Submitted by
Cengizism
-
9 years ago
1
Strip Specific HTML Tags
PCRE (PHP <7.3)
Strip specific HTML tags from a string—opposite of PHP's strip_tags(). Replace letter 'p' with your tag name. Using PHP preg_replace(), example: preg_replace('/(]>)(.?)()|(]*>)/i', '$2', $string);
Submitted by
Zachary Beschler
-
9 years ago
1
US Telephone Number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Country Code
PCRE (PHP <7.3)
no description available
Submitted by
SB
-
9 years ago
1
Javascript GUID regex
ECMAScript (JavaScript)
Validate GUID using a regex expression
Submitted by
stom
-
9 years ago
1
Phone Number
ECMAScript (JavaScript)
Allows a phone number in the following format: (123) 123-1234 The space is optional
Submitted by
Tom G.
-
9 years ago
1
Phone Number
ECMAScript (JavaScript)
Between 8 and 10 Digits, no spaces
Submitted by
anonymous
-
8 years ago
1
...
850
851
852
853
854
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
<a
[^
>
]
*
?
href=
(?|
"
(
[^
"
]
*
?
)
"
|
'
(
[^
'
]
*
?
)
'
)
.
*
?
>
(
.
*
?
)
<
\/
a>
/
gm
Open regex in editor
Description
reset capture
Submitted by
anonymous
-
2 years ago