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
Java single line comment matcher
Python
This regex matches java line end comments started with "//" and ignores such ones that are within String literals. (NO SUFFICIENT TESTING WAS DONE TO GUARANTEE 100% SAFETY)
Submitted by
Janis Schöck
-
9 years ago
-1
word_to_match
Python
no description available
Submitted by
anonymous
-
9 years ago
-1
IP address
Python
Looks for string formated like an IP address.
Submitted by
anonymous
-
9 years ago
-1
xml
Python
no description available
Submitted by
anonymous
-
9 years ago
-1
Integer or decimal number
Python
no description available
Submitted by
Rick de L
-
9 years ago
-1
HTML Code
PCRE (PHP <7.3)
HTML CODE given by (hex number   OR number   OR name )
Submitted by
novy
-
9 years ago
-3
Date and Time
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-3
british postcode check
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-3
British Postcode Check
PCRE (PHP <7.3)
no description available
Submitted by
guest
-
11 years ago
-3
Number
ECMAScript (JavaScript)
Gets all numbers in a string. This includes positive and negative numbers aswell as integers and floats. By: http://www.benlorantfy.com/
Submitted by
Ben
-
10 years ago
-3
Match substitutions
Python
Match regular expressions substitutions, I personally use this to perform my validate if it is a substitution, then call re.sub() on it.
Submitted by
Zarthus
-
10 years ago
-3
Html Tags
ECMAScript (JavaScript)
Matches HTML structure
Submitted by
sagar
-
9 years ago
-2
non-negative integer
ECMAScript (JavaScript)
repeat ... refactor
Submitted by
jay johnson
-
11 years ago
-2
French phone number
PCRE (PHP <7.3)
no description available
Submitted by
Benoit Anastay
-
11 years ago
-2
Regex to select text withing square brackets.
ECMAScript (JavaScript)
no description available
Submitted by
Dhrubajyoti Gogoi
-
11 years ago
-2
Matching HTML attributes
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-2
Password filter
PCRE (PHP <7.3)
a regular expression validate the passowrd. The criteria is that the password should contain atleast one upper case and one lower case letter.
Submitted by
HMK
-
10 years ago
-2
Basic grammar for regex matching of simplistic Makefiles
Python
This expression should both normal and wildcard targets and rules wrapped in simple sub-shell or varriable substitution enclosures.
Submitted by
Robert Butler <me@r-butler.net>
-
10 years ago
-2
Regex for 1 to 100 with or without decimal values
ECMAScript (JavaScript)
no description available
Submitted by
Ved
-
10 years ago
-2
Find a IPV4
ECMAScript (JavaScript)
no description available
Submitted by
Jon Dotsoy
-
10 years ago
1
...
569
570
571
572
573
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?<!
\d
)
\d
{6,7}
(
[^
a
-
zA
-
Z
\d
:
]
+
\d
{1,2}
){0,}
(?!
\d
)+
/
gm
Open regex in editor
Description
Come da titolo
Submitted by
anonymous
-
2 years ago