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
email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-1
Twitter #hashtags
Python
Using the twitter API, take a tweet object and find & link #tags to embed in HTML
Submitted by
@triplec1988
-
11 years ago
3
Extract asp label
ECMAScript (JavaScript)
I am trying to extract the asp:label syntax using Regex but I am getting some error can some one help me
Submitted by
anonymous
-
11 years ago
1
regular expression to replace except text from html tags
ECMAScript (JavaScript)
expression to look for words in innerText & not in html tags as id or class or style name
Submitted by
umarfarukh
-
11 years ago
1
Comments in XML document
PCRE (PHP <7.3)
Match comments in a XML document.
Submitted by
Jared Rummler
-
11 years ago
-2
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
-1
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
1
a^n b^n
PCRE (PHP <7.3)
no description available
Submitted by
Oleksandr Sochka
-
11 years ago
3
Outside Quotes
ECMAScript (JavaScript)
match any string outside of single or double quotes
Submitted by
anonymous
-
11 years ago
-2
Match v4 IP address
PCRE (PHP <7.3)
no description available
Submitted by
Budiony Damyanov
-
11 years ago
1
gh
ECMAScript (JavaScript)
no description available
Submitted by
ghb
-
11 years ago
0
Markdown Inline Link to HTML Anchor
PCRE (PHP <7.3)
Extracts title and link from Markdown inline link to be placed into an HTML anchor tag.
Submitted by
Mike Johnson
-
11 years ago
4
outer Parentheses
PCRE (PHP <7.3)
Finds the outermost pair of parentheses. Compatible with any amount of nesting
Submitted by
Jonas Gerneth
-
11 years ago
-2
Sample
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Find email address in a string.
Python
no description available
Submitted by
anonymous
-
10 years ago
1
Match emails, as per RFC 5322
PCRE (PHP <7.3)
Match any email, according to the grammer in RFC 5322, found at http://tools.ietf.org/html/rfc5322
Submitted by
Nikita Popov
-
10 years ago
2
JavaScript trim string
ECMAScript (JavaScript)
Trim leading/trailing space on a string: do not use /gm flags. Trim each line of a multiline string: use the /gm flag.
Submitted by
https://github.com/naomik
-
10 years ago
2
haml attribute parsing
ECMAScript (JavaScript)
no description available
Submitted by
OnlineCop
-
10 years ago
2
filename split 2
ECMAScript (JavaScript)
no description available
Submitted by
Miloš Ratković
-
10 years ago
-1
Find html tag opening for tag with specific class.
PCRE (PHP <7.3)
I needed a regex to find the opening location of an html tag with a specific class. It is ugly, and it relies on many false assumtions, yet be honest, this will work in most cases. Also checks if the tag is in a line that is commented out. Again, we wont know if it is commented out if it is done on ...
Submitted by
Stack overflow Superspy
-
10 years ago
1
...
16
17
18
19
20
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
NAME
)
(
(
\s
)?
:
(
\s
)?
)
(
[
|,|
(|)|
\\
|
\.
|
\"
|
\w
|
\-
|
\+
]
*
)
(
(
\s
)*
?
,
(
\s
)*
?
)
(
DESCR
)
(
(
\s
)?
:
(
\s
)?
)
(
[
|,|
(|)|
\\
|
\.
|
\"
|
\w
|
\-
|
\+
]
*
)
(
\s
)
(
PID
)
(
(
\s
)?
:
(
\s
)?
)
(
[
\w
|
\-
|
\+
|=
]
+
)
(
(
\s
)+
,
(
\s
)+
)
(
VID
)
(
(
\s
)?
:
(
\s
)?
)
(
[
\w
|
]
*
)
(
(
\s
)+
,
(
\s
)+
)
(
SN
)
(
(
\s
)?
:
(
\s
)?
)
(
[
\w
|
]
*
)
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago