Regular Expressions 101

Library entries

Select Chapters and Bad Headers

Vote

1

Regular Expression
pcre2

/
^((Chapter|Section|\w{3}logue|Interlude|Number|Part|Act)? ?([0-9]*\.?|[\W]+|(Ten|Eleven|Twelve|\w{3,5}teen|((Twen|Thir|Four|Fif|Six|Seven|Eigh|Nine)ty)?( |\-)?(One|Two|Three|Four|Five|Six|Seven|Eight|Nine)?)))[^\n]? ?\W?\s*\n
/
mgi

Description

Loading markdown...
Submitted by lion - 2 months ago