Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^CVE-(1999|2\d{3})-(?!0{4})(0\d{2}[0-9]|[1-9]\d{3,})$
/
gm
Input 1
#This one is not valid but wasn't covered by the test cases provided by MITRE CVE-2001-0000 # This file contains test data for implementations to verify that # CVE IDs are properly parsed and handled to conform with the # 2014 CVE ID Syntax change. # # About this test data: README-tests.txt # More info: http://cve.mitre.org/cve/identifiers/syntaxchange.html # # ****** VALID SYNTAX ****** # # Publicly-referenced IDs for the new syntax (formerly "Option B") # CVE-2014-0010 CVE-2014-0001 CVE-2014-0999 CVE-2014-1234 CVE-2014-3127 CVE-2014-9999 CVE-2014-10000 CVE-2014-54321 CVE-2014-99999 CVE-2014-100000 CVE-2014-123456 CVE-2014-456132 CVE-2014-999999 CVE-2014-1000000 CVE-2014-1234567 CVE-2014-7654321 CVE-2014-9999999 # # Invalid ID. This is the only invalid ID in this file, and it's # intended to help spot incorrect tests that mistakenly accept all # inputs. See README. # CVE-ABCD-EFGH # # These are valid but could cause problems if IDs are stored in bytes # due to numeric overflows (s