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,000 community submitted regex patterns...
0
IPv4 Address Validation Regex
Golang
IPv4 Address Validation Regex
Submitted by
ulgena
-
2 years ago
(Last modified 2 years ago)
0
First letter of compound name with accent (space, apostrophe and hyphen)
ECMAScript (JavaScript)
First letter of compound name with accent (space, apostrophe and hyphen)
Submitted by
Nale974
-
2 years ago
0
South African ID Numbers
PCRE2 (PHP >=7.3)
This is a Regex for South African ID numbers. SA ID numbers' format is the following: YYMMDD GGGG CAZ ...
Submitted by
Riaan van den Berg
-
2 years ago
(Last modified a year ago)
0
正規式向後看
PCRE2 (PHP >=7.3)
抓括號後的文字
Submitted by
Devin
-
2 years ago
0
Extract CREATE TABLE statements from SQL dump file
PCRE2 (PHP >=7.3)
Usage: pcre2grep -M -e'^(CREATE TABLE*?;)' dump.sql > create-tables.sql
Submitted by
Daniel J. Post
-
2 years ago
0
Extract file name from path
PCRE2 (PHP >=7.3)
Extracts string between the last / and .
Submitted by
superfranky32
-
2 years ago
0
To Identify Valid Date Formats
PCRE2 (PHP >=7.3)
We can identify the valid Date formats using this regex.
Submitted by
Sabareesan S
-
2 years ago
0
MyRegex
ECMAScript (JavaScript)
Parse
Submitted by
anonymous
-
2 years ago
0
匹配特定注释和属性内容,添加额外属性
PCRE2 (PHP >=7.3)
//绑定业务员分配量 private int bindSchedulerCount; 替换成 //绑定业务员分配量 private int bindSchedulerCount; //绑定业务员准确率...
Submitted by
fu jw
-
2 years ago
0
import syntax for regex with grouping
ECMAScript (JavaScript)
HAYO!
Submitted by
CreeJee
-
2 years ago
0
Semver regex
PCRE2 (PHP >=7.3)
Example of regex for semver with pre-releases
Submitted by
anonymous
-
2 years ago
0
Smile
PCRE2 (PHP >=7.3)
Accepts : ':' and ';' for eyes Optional : '-' and '~' for nose Accepts : ')' and 'D' for mouth
Submitted by
annickFro
-
2 years ago
0
find number with comma and string
PCRE2 (PHP >=7.3)
find a number with a comma and continue with a string ex. 1,000 AED
Submitted by
anonymous
-
2 years ago
0
Números reales
PCRE2 (PHP >=7.3)
Números reales
Submitted by
Carlos Osmar
-
2 years ago
0
Validación de palabra USFX
PCRE2 (PHP >=7.3)
Puede validar diferentes maneras de escribir la palabra Universidad Mayor, Real y Pontificia de San Francisco Xavier de Chuquisaca
Submitted by
Carlos Osmar
-
2 years ago
0
Validación de fecha
PCRE2 (PHP >=7.3)
Este código validará la fecha
Submitted by
Carlos Osmar
-
2 years ago
0
Doble Espacio
PCRE2 (PHP >=7.3)
Encuentra texto con toble espacio
Submitted by
Carlos Osmar
-
2 years ago
0
matching the end integer at the end of a command and capture the integer
Python
trig:seq:lev\s+([+-]?\d+)
Submitted by
anonymous
-
2 years ago
0
Capture Words
ECMAScript (JavaScript)
Get each word from a text.
Submitted by
anonymous
-
2 years ago
0
Amount (Number with two decimal places)
ECMAScript (JavaScript)
| valid | invalid | |:----------|:------------| | 0.00 | 1 | | 0.99 | 1. | | 10.00 | 1.9 | | 999.99 | 1,99 |...
Submitted by
anonymous
-
2 years ago
1
...
92
93
94
95
96
...
900
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
!
?
){0}
(
[
+
]
){1}
(
[
998
]
){3}
\s
(
[
7
-
9
]
){1}
(
[
0
-
9
]
){1}
\s
(
[
0
-
9
]
){3}
\s
(
[
0
-
9
]
){2}
\s
(
[
0
-
9
]
){2}
$
/
gm
Open regex in editor
Description
uzbekistan phone number
Submitted by
Elbek Khamdullaev
-
2 years ago