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 2,740 community submitted regex patterns...
1
^(?:\d+[a-z]|[a-z])(?:\^\d+)(?:[\+|\-])(?:\d+[a-z])(?:[\+|\-])(?:\d+\=\d+)
Golang
for quadratic equations ||ax^2+bx+c=d||
Submitted by
anonymous
-
3 years ago
0
POC Mobile Detection
Golang
const regex = /(?:Mobile|Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera\sMobi)/gm; const str = `Mozilla/5.0 (Android; Mobile; rv:13.0) Gecko/13.0 Firefox/13.0 Mozilla/5.0 (Linux; U; Android 4.0.3; de-ch; HTC Sensation Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile...
Submitted by
anonymous
-
3 years ago
0
1st Synt Macro
Golang
no description available
Submitted by
anonymous
-
4 years ago
0
header
Golang
no description available
Submitted by
anonymous
-
4 years ago
0
goccy/go-json benchmark
Golang
pushd benchmarks && go mod vendor -v && go test -v -run='^$' -bench='^Benchmark.*(|(Decoder|Reuse|String|Unmapped|GoJson(NoEscape)?))$' -benchmem . && popd `
Submitted by
anonymous
-
4 years ago
0
https://twitter.com/MGWVc
Golang
[](url)
Submitted by
anonymous
-
4 years ago
0
match ***
Golang
no description available
Submitted by
anonymous
-
4 years ago
0
ПОДЛЕСОК
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
(Last modified 3 years ago)
0
tag standard
Golang
no description available
Submitted by
anonymous
-
4 years ago
0
Commit msg
Golang
no description available
Submitted by
anonymous
-
4 years ago
0
sourctype
Golang
no description available
Submitted by
anonymous
-
4 years ago
0
pack shelves
Golang
no description available
Submitted by
anonymous
-
4 years ago
1
Unix file with full path
Golang
Find all string matches with dir, one or more subdir, file name with optional extension. Common example with all capturing groups included: ../../dir/SubDir1/SubDir2/file.ext ...
Submitted by
anonymous
-
4 years ago
1
windows file name from full path
Golang
Find all string matches with dir, one or more subdir, file name with optional extension. Common example with all capturing groups included: C://ProgramFiles/MyDir1/myDir2/file.ext
Submitted by
anonymous
-
4 years ago
1
Lxx Wurzel
Golang
no description available
Submitted by
anonymous
-
4 years ago
1
Flexible box
Golang
no description available
Submitted by
anonymous
-
4 years ago
1
Traefik stripprefixregex for web apps
Golang
Notes: Do not forget to escape the $ by an additional $. Escaping ? like \? does not work. But you could use [?] instead End result should be like this: "traefik.http.middlewares.r6tt-dev-web.stripprefixregex.regex=^/[a-z0-9/]+[a-z0-9]+([?]+.*)?$$"...
Submitted by
anonymous
-
4 years ago
0
totalsource
Golang
no description available
Submitted by
anonymous
-
4 years ago
0
acountant
Golang
no description available
Submitted by
anonymous
-
4 years ago
0
totalsource
Golang
no description available
Submitted by
anonymous
-
4 years ago
1
...
130
131
132
133
134
...
137
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