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...
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
URL Query String Parser
ECMAScript (JavaScript)
Parses a URL query string (ignores anything after #) and returns parameters and values separately.
Submitted by
Ross Tracy
-
9 years ago
0
Website URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
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
-
9 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
-
9 years ago
0
GUID
PCRE (PHP <7.3)
GUID Regex
Submitted by
Dhruval Darji
-
9 years ago
0
PowerShell + Regex to match and output to csv
PCRE (PHP <7.3)
no description available
Submitted by
Jan
-
9 years ago
0
int or Float 3 decimal values
ECMAScript (JavaScript)
Accepts only integer or Flating values upto 3 decimals. To accept n decimals change (1,n)
Submitted by
Shanky
-
9 years ago
0
Turkey mobile phone number 0(5__) ___-____
PCRE (PHP <7.3)
Turkey mobile phone number Regex format 0(5__) -_
Submitted by
msbeden
-
9 years ago
0
Unicode alphanumeric (any language) with whitespaces
ECMAScript (JavaScript)
Match any alphanumeric string in any language. White spaces are allowed. (Usefull for ECMAScript 5)
Submitted by
Angelos Gkountis
-
9 years ago
0
Reg Exp to Remove all special Characters
PCRE (PHP <7.3)
This regular expression removes all special characters including whitespaces which are allowed in windows path name, file name and folder name.
Submitted by
Anirudh
-
9 years ago
0
File path seperator
PCRE (PHP <7.3)
Seperate any file from it's path and trim extention, creating two groups
Submitted by
Edward Aryee
-
9 years ago
0
Integers
ECMAScript (JavaScript)
Positive or negative. 0 is allowed but may not be a leading digit.
Submitted by
anonymous
-
9 years ago
0
Substring Matching Word, Hyphen, Underscores and Digits
PCRE (PHP <7.3)
Matches customer portion of call detail records found in the fields dcontext, lastdata, and usefield of an Asterisk CDR table. Additional processing required to get fully clean values.
Submitted by
lindstrom
-
9 years ago
-3
RegEX for account code starting with 000-
PCRE (PHP <7.3)
no description available
Submitted by
Joe H
-
10 years ago
-1
regex on paintkits
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-1
text beetween text
Python
no description available
Submitted by
karol
-
10 years ago
-2
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
-2
Match v4 IP address
PCRE (PHP <7.3)
no description available
Submitted by
Budiony Damyanov
-
11 years ago
-2
Sample
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
...
573
574
575
576
577
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
(
[
1
-
9
]
\d
{0,3}
|
[
1
-
5
]
\d
{4}
|
6
[
0
-
4
]
\d
{3}
|
65
[
0
-
4
]
\d
{2}
|
655
[
0
-
2
]
\d
|
6553
[
0
-
5
]
)
)
$
/
Open regex in editor
Description
validates TCP/UDP port number (1..65535)
Submitted by
sanchox
-
10 years ago