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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 12,020 community submitted regex patterns...
0
RUT
PCRE (PHP <7.3)
Valida el formato de un RUT
Submitted by
anonymous
-
5 years ago
0
Content-Type
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
MasterUnMatch
PCRE (PHP <7.3)
Should match everything except master
Submitted by
anonymous
-
5 years ago
0
India Mobile Phone RegEx
PCRE (PHP <7.3)
validate India Mobile Phone RegEx
Submitted by
anonymous
-
5 years ago
0
Iraq mobile numbers ๐ฎ๐ถ
PCRE (PHP <7.3)
Regex for Iraq mobile numbers ๐ฎ๐ถ๐ฑ but the mobile number should be without any spaces between the number so you should remove all white spaces By:- Russulh ๐๐ปโโ๏ธ ...
Submitted by
anonymous
-
5 years ago
0
Email list (semi-colon-separated)
PCRE (PHP <7.3)
Validates a single email or a semi-colon list of email addresses. Tolerates leading spaces for the second and later emails. For example - the following are valid: example.one@example.com example.one@example.com; example.one@example.com;example.two@example.com...
Submitted by
anonymous
-
5 years ago
0
templating regex
PCRE (PHP <7.3)
not perfect, but a start double brace template
Submitted by
fallen
-
5 years ago
0
%import
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Two words in sentence without one word
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
d3 classes
PCRE (PHP <7.3)
Uses JS file with all data (class data only) to make a PHP array (to be used in PHP framework).
Submitted by
anonymous
-
5 years ago
0
Set items first parsing
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
eleveo
Golang
no description available
Submitted by
anonymous
-
5 years ago
0
ๅ็ผๅ่จ้็ๅคง็ฏ้ป
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
ๅๆๆๆbounds ็็ฏ้ป
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
frame name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Single Sim
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
IMEI Parse with groups.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Move the selector backwards and forwards
PCRE (PHP <7.3)
Add dots BEHIND the y to make the selection go backwards (the y can be anything you want) and add dots BEFORE the \K to make the selection go forwards. The dot after the \K is to make the selection a whole letter.
Submitted by
anonymous
-
5 years ago
0
CDLD-6694
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Take specified main tag and children tags plus contents between children except HTML
PCRE (PHP <7.3)
First matches the children specified opened or self-closed tags and their contents. If not found, matches opening tag. If not found, matches closing tag.
Submitted by
anonymous
-
5 years ago
1
...
138
139
140
141
142
...
601
National Insurance Number regular expression
3
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?!
BG
|
GB
|
KN
|
NK
|
NT
|
TN
|
ZZ
)
[^
DFIQUV
]
[^
DFIQUVo
]
[
0
-
9
]
{6}
[
ABCD
]
$
/
img
Open regex in editor
Description
This regular expression is build from the description of NINO number of
GOV.UK
,
Submitted by
Iftakhar Husan
-
3 years ago