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...
1
Triple Quoted String
PCRE (PHP <7.3)
More powerful than python style, this supports things like """" """", which matches totally. Also supports """a""""""b""", where there are two matches: """a""","""b""".
Submitted by
Flaviu
-
10 years ago
1
from Google-Maps
ECMAScript (JavaScript)
results all street-adresses from http://maps.googleapis.com/maps/api/geocode/xml?sensor=false&address=
Submitted by
PierreSash
-
10 years ago
1
extract JavaScript function name (corrected for specials)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
include case
PCRE (PHP <7.3)
How to include the matched cases in the result?
Submitted by
anonymous
-
10 years ago
1
question regarding "split" like regex group
PCRE (PHP <7.3)
dear all, i am a regex beginner, so please be gentle :) we have lines of log contents delimited by a pipe char. is it possible to fetch the content between the 5th and the 6th delimiter, ignoring the values in between? example log line:...
Submitted by
regexBeginner
-
10 years ago
1
quotes and escapes
PCRE (PHP <7.3)
no description available
Submitted by
zgorawski
-
10 years ago
1
nginx rewrite
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
Get all HTML tag names
PCRE (PHP <7.3)
no description available
Submitted by
Kostas Trichas
-
10 years ago
1
Url regex testing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
date validation
ECMAScript (JavaScript)
Validation for date 2013.12.24 14:50
Submitted by
axelprog
-
10 years ago
1
sad smiley
Python
looks for a sad smiley with a backslash
Submitted by
@barraponto
-
10 years ago
1
Simple Email Validation
ECMAScript (JavaScript)
Does not match everything, but good for a cross-platform validation filter.
Submitted by
anonymous
-
10 years ago
1
sort -t "," -k4,4 -k1n,1 file_name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Simple phone or email
ECMAScript (JavaScript)
True if user input mobile phone or email
Submitted by
jiller
-
10 years ago
1
Spanish NIE / NIF Validator
ECMAScript (JavaScript)
no description available
Submitted by
Gauravity
-
10 years ago
1
check phone number(Taiwan)
Python
If pattern match, then this number probably is a phone number in Taiwan.
Submitted by
Assalin
-
10 years ago
1
match arguments similar to shell, supports quoted string
ECMAScript (JavaScript)
first group matches quoted strings second group plain text, arguments are separated with a space. example: "this is a \"string\"" thisisnot "another \"string\" with a backslash \"\\"" just replace \" with " after matching.
Submitted by
anonymous
-
10 years ago
1
Uppercase words
ECMAScript (JavaScript)
no description available
Submitted by
MaaxZoom
-
10 years ago
1
periodic-digit-numbers
PCRE (PHP <7.3)
no description available
Submitted by
Wolf
-
10 years ago
1
AD Default Password Policy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
...
846
847
848
849
850
...
900
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(?:
\@
)
(?<key>
[
\w\s
-
]
*
)
(?:
\:
\s
*
)
(?<value>
[
0
-
9
]
+
)+
(?<unit>
[
\w\s
-
]
*
)
(?:
\;
)
/
gm
Open regex in editor
Description
extract keys and values from .less variables
Submitted by
actarian
-
10 years ago