Regular Expressions 101

Community Patterns

Find link-first pages

1

Regular Expression
PCRE (PHP <7.3)

/
^(?<!\n)(\[)
/
m

Description

Finds a page where a bracket is the first char on a line not preceeded by a newline

Submitted by anonymous - 8 years ago