Regular Expressions 101

Community Patterns

123...6

Extract the subject of the company

0

Regular Expression
PCRE2 (PHP >=7.3)

/
Object of the company:\\n(.*?)\\n3. share capital or nominal capital
/
gm

Description

Extracts the subject of the company from strings extracted from PDF documents. \n represents a line break in the original PDF document.

Submitted by marr.vinn - a year ago