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
ParsingAmazonInvoice
PCRE2 (PHP >=7.3)
Goes through a Plain text derived from a PDF capturing the order number, the items, the order and ship dated and the costs.
Submitted by
anonymous
-
4 years ago
1
Capturing between phrases across multiple lines
Python
Discussion https://www.reddit.com/r/regex/comments/kxtyl6/capturing_between_phrases_across_multiple_lines/ https://www.reddit.com/user/Pauley0/
Submitted by
Pauley0
-
4 years ago
1
replace between brackets 3
PCRE2 (PHP >=7.3)
replace multiple matches of words in brackets with no brackets
Submitted by
anonymous
-
4 years ago
1
zpool status
PCRE2 (PHP >=7.3)
Matches the output of zpool status -v. Use preg_match_all with PREG_SET_ORDER to match multiple pools
Submitted by
GiorgioAresu
-
3 years ago
1
Nitroflare ID
PCRE2 (PHP >=7.3)
https://nitroflare.com/view/845F2436715ASF5/XUYZ.zip
Submitted by
anonymous
-
4 years ago
1
Nitroflare v2
PCRE2 (PHP >=7.3)
Extract ID
Submitted by
anonymous
-
4 years ago
0
Markdown table Python regex
Python
works with tables embedded in paragraphs
Submitted by
flxvctr
-
4 years ago
1
value-attached text
ECMAScript (JavaScript)
value-attached text
Submitted by
pyrochlore
-
4 years ago
(Last modified 4 years ago)
1
sdfsf
PCRE2 (PHP >=7.3)
sdf
Submitted by
dsf
-
4 years ago
1
notlike
PCRE2 (PHP >=7.3)
notlike
Submitted by
anonymous
-
4 years ago
1
Basic Phone Number Matching
ECMAScript (JavaScript)
Basic Phone Number Matching
Submitted by
Anthony Cooper
-
4 years ago
1
All digit must be number
PCRE2 (PHP >=7.3)
All digit must be number
Submitted by
anonymous
-
4 years ago
1
Must be start with 62 and all number (indonesia phone)
PCRE2 (PHP >=7.3)
Must be start with 62 and all number (indonesia phone)
Submitted by
anonymous
-
4 years ago
1
Schuljahr
PCRE2 (PHP >=7.3)
Akzeptiert Schuljahre wie 2021/22
Submitted by
anonymous
-
4 years ago
1
printf conversion specification parsing
Python
Parses printf conversion specifications. This version detects multiple flags and (space) flag. MSVC length modifier I64 is also supported. I'm using this regex in my Python project, so please change accordingly if you use other flavor of regex.
Submitted by
Haruka Ma
-
4 years ago
1
Text out of all sort of brackets (or in) SUPPORTS: { } [ ] ( ) < >
PCRE (PHP <7.3)
I made the description in a CSS file which can be viewed here Dont worry its not a virus or anything\, just inspect the source if you are suspicious \:\)
Submitted by
Tom Liesting
-
4 years ago
1
Remove bold markdown
ECMAScript (JavaScript)
Remove bold pairs in markdown text
Submitted by
anonymous
-
4 years ago
1
Email validator
ECMAScript (JavaScript)
Email validation with support with new TLD up to 24 characters
Submitted by
Alessio Michelini
-
4 years ago
(Last modified 4 years ago)
1
HTTP Header Content Type Application JSON
ECMAScript (JavaScript)
Useful to check the HTTP content-type as application/json since sometimes people created their own custom content-type on top of JSON.
Submitted by
Yordis Prieto (Alchemist Ubi)
-
4 years ago
1
test for binary number divisible by 3
ECMAScript (JavaScript)
it detects binary numbers divislbe by 3
Submitted by
anonymous
-
4 years ago
(Last modified 4 years ago)
1
...
302
303
304
305
306
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(?:
<div
\s
+
class=
.
?
body
\s
*
section
.
?
>
)+
\s
*
(?>
<div
[^
>
]
+
head-
\d\s
+
sectionheading
[^
>
]
*
>
)
(
(?:
<span
[^
>
]
*
>
)?
(?:
[^
<
]
+
)
(?:
<
\/
?
span
[^
>
]
*
>
)?
(?:
[^
<
]
+
)
(?:
<
\/
?
span
[^
>
]
*
>
)?
)
<
\/
div>
\s
*
(?:
<
\/
?
span
[^
>
]
*
label
bold
.
?
>
\s
*
)+
(
[
\d
.
]
+
)
<
\/
span>
/
gis
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago