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 2,100 community submitted regex patterns...
3
how to match both lines?
Python
f_name may contain spaces, numbers, characters,... so I would go for a but then I couldn't use [...]? anymore to match the second line?
Submitted by
anonymous
-
10 years ago
3
Find URLs in markdown where the lines have been wrapped
Python
no description available
Submitted by
anonymous
-
10 years ago
3
Twitch URL Regex
Python
Can grab all kinds of valid twitch URLs.
Submitted by
Mio
-
10 years ago
3
phone
Python
matches: + example: +52 33 3884 7720 +1 770 343 5788
Submitted by
miqui
-
9 years ago
3
prices in nis
Python
no description available
Submitted by
molaxx
-
9 years ago
3
iframe src parser
Python
Get iframe src
Submitted by
Sumeet Fefar
-
9 years ago
3
Capture Query Strings
Python
A solution for capture query params.
Submitted by
Rafael Laurindo
-
8 years ago
3
Email
Python
Python
Submitted by
anonymous
-
8 years ago
3
Thorough UK Postcode Validator with In/Out code capture groups
Python
A more thorough UK postcode validator tested against all UK postcodes on a regular basis, but excluding the special GIRO postcode case out of personal preference. Additionally has capture groups for the In-code and Out-code sections. Requires case insensitive matching.
Submitted by
Chris G
-
8 years ago
4
Complete imgur link regex
Python
This regex grabs all kinds of imgur links and groups them in meaningful names aswell. This way you have full flow-control in your python-scripts.
Submitted by
Mio
-
10 years ago
4
Equation matching (without equal)
Python
use this to get value of any side of an equation. You can combine this with https://regex101.com/r/fH5kJ1/1
Submitted by
Kerosene2000
-
9 years ago
4
import url image
Python
import url image
Submitted by
bartimeys
-
9 years ago
5
Form Tag
Python
Form Tag
Submitted by
Jay Patel
-
9 years ago
5
psswd
Python
no description available
Submitted by
anonymous
-
9 years ago
5
Find and extract email domain
Python
Find and extract email domain. Ex: test@example.pt -> extract 'example.pt'
Submitted by
Fnxk
-
9 years ago
5
Bible reference extractor
Python
For scraping http://skepticsannotatedbible.com/
Submitted by
antaytheist-owner
-
9 years ago
5
Match Only Text
Python
no description available
Submitted by
anonymous
-
8 years ago
6
IOS3166 Country Code Identification REGEX
Python
IOS3166 Country Code Identification REGEX
Submitted by
theitgeek@recu.org.uk
-
9 years ago
6
Find consecutive duplicate words
Python
no description available
Submitted by
anonymous
-
9 years ago
7
CSS Import
Python
no description available
Submitted by
anonymous
-
10 years ago
1
...
102
103
104
105
Community Library Entry
3
Regular Expression
Python
r"
(
^
http
(
s
)?
://
)?
(
(
www
|
en-es
|
en-gb
|
secure
|
beta
|
ro
|
www-origin
|
en-ca
|
fr-ca
|
lt
|
zh-tw
|
he
|
id
|
ca
|
mk
|
lv
|
ma
|
tl
|
hi
|
ar
|
bg
|
vi
|
th
)
\.
)?
twitch
.
tv/
(?!
directory
|
p
|
user/legal
|
admin
|
login
|
signup
|
jobs
)
(?P<channel>
\w
+
)
"
gm
Open regex in editor
Description
Can grab all kinds of valid twitch URLs.
Submitted by
Mio
-
10 years ago