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 12,840 community submitted regex patterns...
1
E-Mail
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Number 0-100, 2 decimals
PCRE (PHP <7.3)
A number between 0 and 100 (including them) with up to two decimals. The decimal separator can be . or , . Usefull for percentage.
Submitted by
anonymous
-
9 years ago
1
CEDICT Chinese dictionary line parts
PCRE (PHP <7.3)
Matches the four parts (simplified, traditional, pinyin, definition) of a CEDICT dictionary line
Submitted by
Hugh Grigg
-
9 years ago
1
Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
^(?:0814|0815|0816|0855|0856\d|0857\d|0858\d|0859\d|0[^08]\d)\d{6,9}$
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Validador de Data (MMddYYYY e YYYYMMdd)
ECMAScript (JavaScript)
Verifica se o texto digitado corresponde a um formato de data valida por expl. 12/31/2015 ou 2015/12/31
Submitted by
Gustavo Américo (Gag)
-
9 years ago
1
Less number variables to dictionary
PCRE (PHP <7.3)
extract keys and values from .less variables
Submitted by
actarian
-
9 years ago
1
Check if number is a float
ECMAScript (JavaScript)
no description available
Submitted by
@hiaru
-
9 years ago
1
ReGEX EXPression
ECMAScript (JavaScript)
ReGEX EXPression generating Values but repeating want values should not repeat.
Submitted by
anonymous
-
9 years ago
1
Find a select or select top in a query
ECMAScript (JavaScript)
Some times we need replace de first select in a query to another. In my case i want replace to "Select top 1". With that a can replace any select to select top 1.
Submitted by
Diego Troitiño
-
9 years ago
1
russian phone number hard validation (multiformat)
PCRE (PHP <7.3)
Supported formats (mobile): +7(xxx)xxx xxxx +7(xxx)xxxxxxx +7(xxx)xxx-xx-xx +7(xxx)xxx xx xx +7 xxx xxx xx xx...
Submitted by
Redfern.89
-
9 years ago
1
Valid date ddMMyyyy + .zip extension
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
CVE descriptors
PCRE (PHP <7.3)
no description available
Submitted by
Noir
-
9 years ago
1
Match numbers with consecutive digits
PCRE (PHP <7.3)
Match numbers with consecutive digits and of length 3.
Submitted by
OnlineCop
-
9 years ago
1
Find exact domain name match
PCRE (PHP <7.3)
Find exact domain name match in pipe delimeted string
Submitted by
anonymous
-
9 years ago
1
Extract times from a string
PCRE (PHP <7.3)
I use this to extract and later calculate the difference between two times.
Submitted by
Ernie C.
-
9 years ago
1
Simple Valid File Names
ECMAScript (JavaScript)
Simple file names. Special chars allowed (-_.) {3, 40}
Submitted by
CADII
-
9 years ago
1
get number and unit in string
ECMAScript (JavaScript)
match int or float number, and following word (unit for example)
Submitted by
Etienne Goumet
-
9 years ago
1
GET EMAIL INFO (3)
PCRE (PHP <7.3)
Get Gmail tag, user and domain of an email address. -- Fixed the bug that the label doesn't match if there are an dot on user.
Submitted by
Matías Pizarro González
-
9 years ago
1
country name
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
...
597
598
599
600
601
...
642
Get dynamic parameters from an URL
2
Regular Expression
PCRE (PHP <7.3)
/
(?:
http
\:\/\/
(?:
www
\.
)?
){1}
[^
\/
]
*
\/
(
[^
\/
]
*
)
(?#parameter2)
(?:
\/
(
[^
\/
]
*
)
)?
(?#parameter3)
(?:
\/
(
[^
\/
]
*
)
)?
(?#parameter4)
(?:
\/
(
[^
\/
]
*
)
)?
/
Open regex in editor
Description
Gets the parameters (how many you want) from a url and organize into groups
Submitted by
Caio Oliveira
-
10 years ago