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,020 community submitted regex patterns...
0
CSS url()
PCRE (PHP <7.3)
Matches a valid CSS3 url() property
Submitted by
sciyoshi
-
9 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
Parse DateTimes
PCRE (PHP <7.3)
Will parse a DateTime and group the results. Probably pretty limited but it works for me.
Submitted by
martin
-
11 years ago
1
Strip ANSI escape characters
Python
no description available
Submitted by
anonymous
-
11 years ago
1
HTML Anchor to Markdown Inline Link
PCRE (PHP <7.3)
Extracts the href and title values from an anchor tag to be placed into an inline Markdown link.
Submitted by
Mike Johnson
-
11 years ago
1
12345
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
1
LeafletJS filename matcher
PCRE (PHP <7.3)
Regex used to identify location, i.e. URL of the tag that loaded Leaflet (or Mapbox).
Submitted by
cebence
-
11 years ago
1
Sentence matching
PCRE (PHP <7.3)
Match sentences ignore e.g. Fig. z.b. etc
Submitted by
anonymous
-
11 years ago
1
Matching Results List
PCRE (PHP <7.3)
Hello, If you can match the results listed in the right-hand side would be great. Thank you. ...
Submitted by
Ömür Yanıkoğlu
-
10 years ago
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
...
48
49
50
51
52
...
901
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(?:
[
a
-
z0
-
9!#$%&'*+
\/
=?^_`{|}~-
]
+
(?:
\.
[
a
-
z0
-
9!#$%&'*+
\/
=?^_`{|}~-
]
+
)*
|
"
(?:
[
\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f
]
|
\\
[
\x01-\x09\x0b\x0c\x0e-\x7f
]
)*
"
)
@
(?:
(?:
[
a
-
z0
-
9
]
(?:
[
a
-
z0
-
9-
]
*
[
a
-
z0
-
9
]
)?
\.
)+
[
a
-
z0
-
9
]
(?:
[
a
-
z0
-
9-
]
*
[
a
-
z0
-
9
]
)?
|
\[
(?:
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
){3}
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
|
[
a
-
z0
-
9-
]
*
[
a
-
z0
-
9
]
:
(?:
[
\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f
]
|
\\
[
\x01-\x09\x0b\x0c\x0e-\x7f
]
)+
)
\]
)
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago