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...
-2
Parsing result of SQL Server version (SELECT @@VERSION)
.NET 7.0 (C#)
Parses MS SQL Server version returned from executing SELECT @@version
Submitted by
M Rivas
-
2 years ago
-2
PHP Serialization String Validator
PCRE (PHP <7.3)
PHP serialize / unserialize __sleep __wakeup __serialize __unserialize
Submitted by
Abdullah Pazarbasi
-
2 years ago
-2
rustyms: pro forma single modification
Rust
The regex to match a single pro forma modification with all its intricacies.
Submitted by
Douwe Schulte
-
2 years ago
-2
Ascending and Descending order
Java 8
This regex is to match Ascending or descending order of 8 digit number
Submitted by
anonymous
-
a year ago
-2
Codeforces 1800A Solution
ECMAScript (JavaScript)
By inserting this regex in a programming language to test it against Codeforces 1800A you'll solve the task
Submitted by
EntityPlantt
-
a year ago
-1
Twitter Hashtags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-1
regex on paintkits
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-1
Match the ID on individual Vimeo URLs
PCRE (PHP <7.3)
no description available
Submitted by
Josh K
-
11 years ago
-1
Finds <font> tag
PCRE (PHP <7.3)
Useful for cleaning old html code from tags
Submitted by
anonymous
-
11 years ago
-1
Simple replacing. Replaced first folder in path to file.
PCRE (PHP <7.3)
Used with Java regexp. F.e. you can use replaceAll("regexp", "filePath").
Submitted by
E.ch.
-
11 years ago
-1
Find image style
ECMAScript (JavaScript)
style img
Submitted by
anonymous
-
11 years ago
-1
Twitter #hashtags
Python
Using the twitter API, take a tweet object and find & link #tags to embed in HTML
Submitted by
@triplec1988
-
11 years ago
-1
Substitutin
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-1
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
-1
Match inside square brackets without brackets
PCRE (PHP <7.3)
no description available
Submitted by
DanSkeel
-
11 years ago
-1
for checking code number 1111/111111111
Python
no description available
Submitted by
dejv
-
10 years ago
-1
Find html tag opening for tag with specific class.
PCRE (PHP <7.3)
I needed a regex to find the opening location of an html tag with a specific class. It is ugly, and it relies on many false assumtions, yet be honest, this will work in most cases. Also checks if the tag is in a line that is commented out. Again, we wont know if it is commented out if it is done on ...
Submitted by
Stack overflow Superspy
-
10 years ago
-1
regex test
PCRE (PHP <7.3)
testing the string abc xyx 12 13 a a b
Submitted by
Alien Coders
-
10 years ago
(Last modified a year ago)
-1
sfafagergfwefe323
Python
no description available
Submitted by
anonymous
-
10 years ago
-1
street address Checker and fetcher
PCRE (PHP <7.3)
Check provided street address is valid or not and also fetch it's all components.
Submitted by
Dilip Borad
-
10 years ago
1
...
9
10
11
12
13
...
902
Community Library Entry
-1
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
(?:
[
\pL\pN\pS
-
\.
]
)+
(?:
\.
?
(?:
[
\pL
]
|
xn
\-\-
[
\pL\pN
-
]
+
)+
)
#
a
domain
name
|
#
or
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
#
a
IP
address
|
#
or