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...
0
carbon
Java 8
test1
Submitted by
anonymous
-
2 years ago
0
Business Address | WI | Trademark | USA
Java 8
s
Submitted by
anonymous
-
2 years ago
0
Capture optional HTML tag attributes in any order
PCRE2 (PHP >=7.3)
We often see some regular expressions to manipulate HTML instead of using a DOM parser. But well, in some cases we haven't got the parser or efficiency is a question of concern. In most cases I think the best is to use both together. First a simple and bullet-proof regex to extract data from the HTM...
Submitted by
Patrick Janser
-
2 years ago
0
trim phone number
PCRE (PHP <7.3)
trim phone number
Submitted by
anonymous
-
2 years ago
0
Youtube API V3 Video list convert duration
PCRE2 (PHP >=7.3)
Convert the YouTube API V3 videos list, duration of videos to separate numbers for calculations.
Submitted by
Bo
-
2 years ago
0
Get path from any text
PCRE2 (PHP >=7.3)
Get path (windows style) from any type of text (error message, e-mail corps ...), quoted or not. THIS IS COMMENTED VERSION !_ to simple copy and use it, go https://regex101.com/r/zWGLMP Relative path are not supported...
Submitted by
nitrateag
-
2 years ago
(Last modified 2 years ago)
0
Parcing2
PCRE (PHP <7.3)
aa
Submitted by
anonymous
-
2 years ago
0
Extract any http https and any url form
PCRE (PHP <7.3)
This will help you to extract any URL inside your text
Submitted by
Abdullah Alweheid
-
2 years ago
0
prince first try
ECMAScript (JavaScript)
im just trying this out
Submitted by
prince
-
2 years ago
(Last modified 2 years ago)
0
Make article title italic for PmWiki
ECMAScript (JavaScript)
Make article title italic for PmWiki
Submitted by
anonymous
-
2 years ago
0
pythonize beautiful query
PCRE2 (PHP >=7.3)
pythonize beautiful query
Submitted by
anonymous
-
2 years ago
0
Editoria gamecoin
Python
Capturar editorias do site gamecoin
Submitted by
anonymous
-
2 years ago
0
wiki
PCRE2 (PHP >=7.3)
wiki parser
Submitted by
anonymous
-
2 years ago
0
/^([a-z]).*\1$|^[a-z]{1}$/gm
PCRE2 (PHP >=7.3)
regex that will test string that begins and end with the same string character and also works if there is only one character in string
Submitted by
Ananya
-
2 years ago
0
Match between two strings
PCRE2 (PHP >=7.3)
(?<=This is)(.*)(?=sentence)
Submitted by
anonymous
-
2 years ago
0
Xml Element Attributes
PCRE2 (PHP >=7.3)
View attributes for an XML or HTML element
Submitted by
anonymous
-
2 years ago
0
User-Agent
PCRE (PHP <7.3)
Parser
Submitted by
sn3kdev
-
2 years ago
0
Twitter Question
PCRE2 (PHP >=7.3)
Gramática: S->E S->aA S->bB A->E A->bB...
Submitted by
anonymous
-
2 years ago
0
HTML Image Regex
Java 8
This code will find image files with .gif and .jpg extensions which are present in a HTML or CSS code. Here I am using the prefix '/asmproxy/' to identify the resource and then checking if extension ends with a .gif or .jpg. This Regex has its limitations as we are using prefix.
Submitted by
Suman Mummaneni
-
2 years ago
0
Looking for valid phone number
Python
This locates a valid phone number in a list of phone numbers
Submitted by
Dandaps
-
2 years ago
1
...
868
869
870
871
872
...
900
Community Library Entry
0
Regular Expression
Java 8
"
(
(
(
.
*
)
(
Waukesha
|
MADISON
|
NORTHBROOK
)
(
\w
{2,}
)
(
\d
+
((
\d
+
)*)
)
\w
+
)
(
(
.
*
)
(
Waukesha
|
MADISON
|
NORTHBROOK
)
(
\w
{2,}
)
(
\d
+
)
)
)
"
gm
Open regex in editor
Description
s
Submitted by
anonymous
-
2 years ago