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,040 community submitted regex patterns...
1
Currency amount without currency symbol
PCRE (PHP <7.3)
Matching numbers related to financial amounts. Does not consider the type of currency. Will not match: 34 1.005 33,00...
Submitted by
elgehelge
-
9 years ago
1
Extract elevation from GPX
PCRE (PHP <7.3)
Matches everything except content between and
Submitted by
ViteXikora
-
9 years ago
1
Match mydomain*.mydomain.com
PCRE (PHP <7.3)
no description available
Submitted by
Trappist
-
9 years ago
1
Stackexchange: Create date variable from time
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Email validation
PCRE (PHP <7.3)
because everything else is too strict
Submitted by
anonymous
-
9 years ago
1
Get Itunes ID
PCRE (PHP <7.3)
Get itunes id from url
Submitted by
sendypw
-
9 years ago
1
test
PCRE (PHP <7.3)
test
Submitted by
anonymous
-
9 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Numer telefonu
PCRE (PHP <7.3)
no description available
Submitted by
p.borecki
-
9 years ago
1
hashtag and user tag regex
PCRE (PHP <7.3)
This regular expression can be used to find tags and hashtags in a string. It assumes that a username can contain both underscores and points (.) and that hashtags can only contain letters
Submitted by
Luca Simonetti
-
9 years ago
1
SIP Address Validator
PCRE (PHP <7.3)
Validates SIP(Session Initiation Protocol) Addresses
Submitted by
Tarun Telang
-
9 years ago
1
PCI Device
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Validate URLs
PCRE (PHP <7.3)
Someone on IRC posted the following site: https://mathiasbynens.be/demo/url-regex which challgenged me to write a decent regex to match valid URLs in that list. This regex works in both pcre and javascript (you'll have to replace the pcre-specific syntax to make it work in JS). Don't actually use t...
Submitted by
Firas Dib
-
9 years ago
1
someone knows he answer?
PCRE (PHP <7.3)
are both strings matching, I wnat only the second one to match
Submitted by
anonymous
-
9 years ago
1
regex for phone numbers in Israel
PCRE (PHP <7.3)
regex for phone numbers in Israel
Submitted by
anonymous
-
9 years ago
1
KZ phone regexp
PCRE (PHP <7.3)
Regexp for kz website mask "+7(999) 999-99-99"
Submitted by
Iden
-
9 years ago
1
match the first sentence, ignoring enumerations
Python
no description available
Submitted by
Henrik Heimbuerger
-
9 years ago
1
获取discuz引用回复用户名
PCRE (PHP <7.3)
no description available
Submitted by
Paul Wang
-
9 years ago
1
Get path from URL
Python
extract the path from a URL returns one group (if matching) with the path info e.g. http://somedomain.com/some-page/ http://www.domain.com:8080/some-page/ https://www.google.com:8080/some-page/...
Submitted by
luke_aus
-
9 years ago
1
MySQLcase
Python
make sure mysql tables have the correct form
Submitted by
d
-
9 years ago
1
...
657
658
659
660
661
...
702
Twitch URL Regex
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
-
9 years ago