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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 14,740 community submitted regex patterns...
0
Numbered List Pattern
Python
Tte pattern to grep the multilayer numbered list bullets: 1. level 1 1.2. level 1.2 1.2.1. level 2.1 1.3. level 1.3 1.4. level xxx...
Submitted by
anonymous
-
3 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
-
3 years ago
0
RegexJSON
PCRE (PHP <7.3)
Json add q
Submitted by
anonymous
-
3 years ago
0
Generate random alpha characters
PCRE (PHP <7.3)
Given a string, generate random alpha characters of a particular length
Submitted by
Chetan
-
3 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
-
3 years ago
0
匹配整数(带小数位)
PCRE (PHP <7.3)
匹配小数位的整数,或者匹配整数
Submitted by
solelyli
-
3 years ago
0
medicine
PCRE (PHP <7.3)
about medicine
Submitted by
fcs
-
3 years ago
(Last modified 3 years ago)
1
Basic Phone Number Matching
ECMAScript (JavaScript)
Basic Phone Number Matching
Submitted by
Anthony Cooper
-
3 years ago
1
value-attached text
ECMAScript (JavaScript)
value-attached text
Submitted by
pyrochlore
-
3 years ago
(Last modified 3 years ago)
0
Markdown table Python regex
Python
works with tables embedded in paragraphs
Submitted by
flxvctr
-
3 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
-
3 years ago
0
Test
ECMAScript (JavaScript)
Haiz
Submitted by
anonymous
-
3 years ago
(Last modified a year ago)
1
Identify lines on an invoice
ECMAScript (JavaScript)
it identifies lines in an invoice
Submitted by
Vladox
-
3 years ago
1
Validacion de palabras con acento
ECMAScript (JavaScript)
Valida letras y palabras con acento
Submitted by
anonymous
-
3 years ago
0
Match URL or URI strings
ECMAScript (JavaScript)
Reference: https://stackoverflow.com/a/34669019/369727
Submitted by
https://danlevy.net/
-
3 years ago
0
Trailing dot removal after number sequence
ECMAScript (JavaScript)
The capture group returns only a number with a dot if it has decimal digits, otherwise it is treated as an integer. 1.1 => 1.1 1\. => 1
Submitted by
Stefa168
-
3 years ago
0
email address
ECMAScript (JavaScript)
email address regex
Submitted by
anonymous
-
3 years ago
0
Lookbehind
ECMAScript (JavaScript)
Example of how to pull a particular piece of the URL
Submitted by
DATA_GATA
-
3 years ago
0
Niledutch voyage regex
Python
s
Submitted by
anonymous
-
3 years ago
0
parse log file for message type, message, ticket number and user
Python
for the Google interacting with the OS course final project on Coursera
Submitted by
anonymous
-
3 years ago
1
...
80
81
82
83
84
...
737
Match URL or URI strings
0
Regular Expression
ECMAScript (JavaScript)
/
(
[
a
-
z
]
+
\:\/
+
)
(
[^
\/
\s
]
+
)
(
[
a
-
z0
-
9
\-
@
\^
=%&;
\/
~
\+
]
*
)
[
\?
]
?
(
[^
\#
\r\n
]
*
)
#
?
(
[^
\#
\r\n
]
*
)
/
ig
Open regex in editor
Description
Reference:
https://stackoverflow.com/a/34669019/369727
Submitted by
https://danlevy.net/
-
3 years ago