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...
5
Two or more whitespace
PCRE (PHP <7.3)
Reeplace all two or more whitespace in string with a single chararter(ej. one whitespace)
Submitted by
Lanxe
-
10 years ago
1
Number Input That Supports Simple Math Expressions
ECMAScript (JavaScript)
RegEx matches: '5', '+5', '-5', '5+5', '-5+5', '+5+5', '5+9+7*-2' RegEx doesn't match: '5+', '5-', '5+9-', 'asdfasf5+5'
Submitted by
David Weitzenfeld
-
10 years ago
-2
html check in spacial case
PCRE (PHP <7.3)
it check the html content with like html tag but not html. somthing this not html content but it has content like html tag.
Submitted by
A. K. Asik
-
10 years ago
0
Find color
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Group variable attributes in a linux path effectively with regex
PCRE (PHP <7.3)
Group variable attributes in a linux path effectively with regex. Here the workspace can be changed and the modulename can change. Case scenario found trying to identyfy the modulename and workspace directory in Jenkins build.
Submitted by
Supratim Samanta
-
10 years ago
1
match url
ECMAScript (JavaScript)
unsplash.com
Submitted by
anonymous
-
10 years ago
1
CVC
ECMAScript (JavaScript)
This will determine that an accurate CVC has been entered
Submitted by
Scott Mebberson
-
10 years ago
0
1
Python
no description available
Submitted by
anonymous
-
10 years ago
1
Find missing or superfluous commas in "For å" constructions.
PCRE (PHP <7.3)
Finds missing commas in "For å ..." constructions according to officially ordained grammar-based comma rules.
Submitted by
Eirik Birkeland
-
10 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
facebook post embed code
PCRE (PHP <7.3)
This pattern matches to the facebook post embed codes. It matches on each parts of the whole embed code individualy, and matches on the complete embed code either, but it requires minimum a fb-post div.
Submitted by
kristian tanacs
-
10 years ago
1
facebook post embed code
PCRE (PHP <7.3)
This pattern matches to the facebook post embed codes. It matches on each parts of the whole embed code individualy, and matches on the complete embed code either.
Submitted by
kristian tanacs
-
10 years ago
1
MySQL PHP connection string
PCRE (PHP <7.3)
Capture dbname and host from MySQL PHP connection string
Submitted by
anonymous
-
10 years ago
1
parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
11
UUID
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
sdf
PCRE (PHP <7.3)
sdf
Submitted by
sdf
-
10 years ago
1
Links in Markup
PCRE (PHP <7.3)
Find Links in HTML Markup
Submitted by
someone
-
10 years ago
1
kewai
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
vk.com wall
PCRE (PHP <7.3)
Parse 123_123 http://vk.com/id82702078?w=wall82702078_3386 http://vk.com/wall82702078_3386 http://vk.com/club34073863?w=wall-34073863_28647 http://vk.com/wall-34073863_28647
Submitted by
by xzotix
-
10 years ago
1
Common log format datetime
ECMAScript (JavaScript)
Parses the common log format into component elements. According to wikipedia, common log is strftime format %d/%b/%Y:%H:%M:%S %z
Submitted by
Matt Ingenthron <ingenthr@cep.net>
-
10 years ago
1
...
868
869
870
871
872
...
902
Community Library Entry
0
Regular Expression
Python
r"
<
(?P<name1>
\w
*
)
><
(?P<name2>
h
[
1
-
5
]
)
>
.
*
</
(?P=name2)
></
(?P=name1)
>
"
gm
Open regex in editor
Description
match html reg
Submitted by
anonymous
-
2 years ago