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 11,500 community submitted regex patterns...
0
Library catalogue (VTECH V-Lib)
Python
Matches entries in a library catalogue.
Submitted by
anonymous
-
10 months ago
0
Tracking Number Recognition and Parsing
PCRE (PHP <7.3)
T
Submitted by
anonymous
-
10 months ago
0
Additional
PCRE (PHP <7.3)
Splitting Additionalname in Basename and Specification
Submitted by
JK
-
10 months ago
(Last modified 10 months ago)
1
...
573
574
575
Danish CPR number validation
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
0
[
1
-
9
]
|
[
12
]
\d
|
3
[
01
]
)
(
0
[
1
-
9
]
|
1
[
0
-
2
]
)
\d
{2}
[
-
]
?
\d
{4}
$
/
gm
Open regex in editor
Description
CPR number is presented with or without a dash
Submitted by
anonymous
-
2 years ago