Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Regular
Expressions
101
Regular
Expressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^[Hh]eading\t(\d+)\t[\d\.]+\t(.+)
/
gm
Test String
New
heading 1 0. References heading 1 1. Introduction heading 1 2. System of interest: heavy component heading 2 2.1 Definition and role of the heavy component heading 3 2.1.1 General Definitions heading 3 2.1.2 heavy component main missions heading 11 2.1.1.11.3.4 Generic chapter
Extraction
Processing...