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 5,760 community submitted regex patterns...
1
uzbekistan phone regex
PCRE2 (PHP >=7.3)
Uzbekistan phone codes - regex pattern.
Submitted by
Sodikmirzo Sattorov
-
2 years ago
1
Add space after period
PCRE2 (PHP >=7.3)
Add a whitespace after a period if it is followed by a non-whitespace character
Submitted by
blacksmithop
-
2 years ago
1
11位整数含两位小数校验
ECMAScript (JavaScript)
100.00 10000.00 过滤非 0 开头两位小数
Submitted by
yang
-
2 years ago
1
中文匹配
ECMAScript (JavaScript)
本示例启用了多行匹配 m
Submitted by
yang
-
2 years ago
1
js获取url上的参数
ECMAScript (JavaScript)
/(+)=(+)/gm
Submitted by
anonymous
-
2 years ago
1
Find duplicate char in a string
ECMAScript (JavaScript)
it was used in this codewar challenge. and i find i really interesting. Also u can Write it like this if you want /(.)\1+/g it works exactly the same
Submitted by
anonymous
-
2 years ago
1
RegEX IBAN SEPA with spaces
ECMAScript (JavaScript)
RegEX IBAN SEPA with spaces
Submitted by
Karim MB
-
2 years ago
1
Percentage regex
ECMAScript (JavaScript)
Percentage regex allows integer and float values e.g. 10 // valid 12 // valid 12.34 // valid 12.345 // invalid 99.99 // valid...
Submitted by
Ankit Patel
-
2 years ago
1
Regex for url
ECMAScript (JavaScript)
Regex for url
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
Fix markdown image in header
PCRE2 (PHP >=7.3)
I was converting from markdown to another format & it didn't allow images in headers so this Regex finds an image in a header & moves it before the header.
Submitted by
thefinnomenon
-
2 years ago
1
Match binary calculator, Operands and Operator
ECMAScript (JavaScript)
Match binary number (0 | 1), with or not Operand (+ | - | / | *)
Submitted by
chuaschinai
-
2 years ago
1
Password regular expression
PCRE2 (PHP >=7.3)
Password should contain at least 8 symbols, one lower case, one upper case and one number. https://owasp.org/www-community/password-special-characters
Submitted by
Tahiaji
-
2 years ago
1
Chinese Phone Number
PCRE2 (PHP >=7.3)
匹配中国🇨🇳大陆手机号码
Submitted by
Akko
-
2 years ago
1
Docker image tag with named groups
ECMAScript (JavaScript)
Named groups, port in registry, sha256
Submitted by
petersamokhin with help from https://stackoverflow.com/questions/39671641
-
2 years ago
1
Select Markdown Text and content
ECMAScript (JavaScript)
This expression selects any square brackets and the content inside it. Exemple: [DataTransfer] []...
Submitted by
innnerception
-
2 years ago
1
Function for LScript
ECMAScript (JavaScript)
RegEx for finding function in LScript programming language
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Function creation in LScript
ECMAScript (JavaScript)
RegEx for finding creation of a function in LScript programming language
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Function argument in LScript
ECMAScript (JavaScript)
RegEx for finding each argument when creating a function in LScript programming language
Submitted by
anonymous
-
a year ago
1
get-time
PCRE2 (PHP >=7.3)
The get-time regex checks for the time format of a 12-hour clock, as follows: the hour is between 1 and 12, with no leading zero, followed by a colon, then minutes between 00 and 59, then an optional space, and then AM or PM, in upper or lower case
Submitted by
Ahmed Ibrahim
-
a year ago
1
Filtering Log Files with Regular Expressions
PCRE2 (PHP >=7.3)
We're using the same syslog, and we want to display the date, time, and process id that's inside the square brackets. We can read each line of the syslog and pass the contents to the show_time_of_pid function. Fill in the gaps to extract the date, time, and process id from the passed line, and retur...
Submitted by
anonymous
-
a year ago
1
...
72
73
74
75
76
...
288
Portugal / Portuguese License Plate (Matrícula - Placa)
0
Regular Expression
ECMAScript (JavaScript)
/
[
0
-
9
]
{2}
[
\s
-
]
{0,1}
[
0
-
9
]
{2}
[
\s
-
]
{0,1}
[
A
-
IK
-
PR
-
VZ
]
{2}
|
[
0
-
9
]
{2}
[
\s
-
]
{0,1}
[
A
-
IK
-
PR
-
VZ
]
{2}
[
\s
-
]
{0,1}
[
0
-
9
]
{2}
|
[
A
-
IK
-
PR
-
WYZ
]
{2}
[
\s
-
]
{0,1}
[
0
-
9
]
{2}
[
\s
-
]
{0,1}
[
A
-
IK
-
PR
-
WYZ
]
{2}
/
gm
Open regex in editor
Description
Regex to recognize Vehicle License Plates in Portugal
Submitted by
anonymous
-
5 years ago