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
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
-
11 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
-
11 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
...
48
49
50
51
52
...
902
Community Library Entry
1
Regular Expression
Python
r"
\(
?
?
(?P<area>
0
\d
{1,2}
?
)
\)
?
?
(
\s
*
?
|
\-
?
?
)
(?P<phone>
\d
{3,4}
(
\s
*
?
|
\-
?
?
)
\d
{3,4}
)
"
Open regex in editor
Description
If pattern match, then this number probably is a phone number in Taiwan.
Submitted by
Assalin
-
10 years ago