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
Community Patterns
Search among 13,680 community submitted regex patterns...
0
(sub)domain match
PCRE (PHP <7.3)
1.Tree of subdivisions may have up to 127 levels. 2.Each label may contain up to 63 characters. 3.The full domain name may not exceed the length of 253 characters in its textual representation. rfc1035 rfc1123 rfc2181
Submitted by
Nick Chkhikvishvili
-
9 years ago
0
TCP/UDP port number
PCRE (PHP <7.3)
validates TCP/UDP port number (1..65535)
Submitted by
sanchox
-
9 years ago
0
23
PCRE (PHP <7.3)
23
Submitted by
23
-
9 years ago
0
test
Python
test
Submitted by
boag
-
9 years ago
0
Matching lines that starts with -
PCRE (PHP <7.3)
It may be useful inorder to replace those lines with li
Submitted by
Said Bakr
-
9 years ago
0
Any mail address
PCRE (PHP <7.3)
Any mail address
Submitted by
Himalay
-
9 years ago
0
XML 1.0 dateTime values
Python
dateTime type matching regex for XML 1.0
Submitted by
DervishD
-
9 years ago
0
extract sql statements from sql profiler trace
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
str with whitespace not starting with space
Python
no description available
Submitted by
anonymous
-
9 years ago
0
Not Empty String
PCRE (PHP <7.3)
Match a not-empty string. A string with only spaces or no characters is an empty-string. When match something, mathc all the string with the exception of the eventually space at the and
Submitted by
Luca
-
9 years ago
0
/[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Select everything outside of table tags
PCRE (PHP <7.3)
no description available
Submitted by
ReijMan
-
9 years ago
0
Remove all html tags
PCRE (PHP <7.3)
no description available
Submitted by
thebigsmileXD
-
9 years ago
0
Select or locate the last underscore (or dot, etc) in a string
PCRE (PHP <7.3)
This string can help you locate/select the last underscore in a string
Submitted by
Hao
-
9 years ago
0
Facebook profile URL pattern
PCRE (PHP <7.3)
Pattern that check your string to match Facebook user profile URL.
Submitted by
JSC Quatrodev
-
9 years ago
0
Validar registro de pregunta
PCRE (PHP <7.3)
Valida las posibles respuestas al insertar una pregunta, esto se realiza ya que las respuestas se ordenan aleatoriamente, por eso no se permite respuestas del tipo "A y B son correctas"
Submitted by
ZeusAFK
-
9 years ago
0
phone number russia
Python
phone number without spaces or hyphens +7YYYXXXXXXX
Submitted by
vscoder
-
9 years ago
0
International phone number validation
PCRE (PHP <7.3)
Validates all formats of phone numbers for international calls. Accepts all kinds of internationa call prefixes.
Submitted by
Ādams Muzikants
-
9 years ago
0
Facebook Page/Profile. No profile.php. No /groups/
PCRE (PHP <7.3)
Example: http://www.facebook.com/profile.php?id=123456789 http://www.facebook.com/someusername https://www.facebook.com/0x20.be http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2F2leep%2F109473355777935&width=300&connections=4&stream=false&heade...
Submitted by
aramosf
-
8 years ago
0
Phone search in HTML
PCRE (PHP <7.3)
Searching for phone in HTML where content in 1-st tag descibes phone type in some next tag
Submitted by
Akella
-
8 years ago
1
...
451
452
453
454
455
...
684
Remove codes
0
Regular Expression
PCRE (PHP <7.3)
/
(
\(
|
\[
|
|
-
)+
(
(
,
|
)*
(
AU
|
JP
|
CA
|
NZ
|
US
|
KR
|
GB
)
(
,
|
)*
)+
(
\)
|
\]
|
|
-
|
$
)+
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago