Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^([\w\s]+?)(, \d+(\d+)?)?\.\s*See( also)?([\w\W]$1| .+$|\n.+$)
/
gm

Description

Parses the paste dump of index at the end of a PDF

Submitted by anonymous - 4 years ago