Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(?<=Legal Description:)(\n)(.*)^(?:(?!Property Use:).)*
/
gm
Input 1
New
General Info Status: Certified ACCOUNT Property ID: 408123 Geographic ID: Type: P Agent: LETS GO TAX SERVICES - PO BOX 111 (Authorized) Legal Description: AREA THAT I WANT TO CAPTURE Property Use: OWNER Name: ABCD GAME SERVICE LLC Secondary Name: ATTN ACCTS PAYABLE Mailing Address: PO BOX 2222 NEW YORK NY 222515-12354 Owner ID: 123456
Extraction
General Info Status: Certified ACCOUNT Property ID: 408123 Geographic ID: Type: P Agent: LETS GO TAX SERVICES - PO BOX 111 (Authorized) Legal Description: AREA THAT I WANT TO CAPTURE Property Use: OWNER Name: ABCD GAME SERVICE LLC Secondary Name: ATTN ACCTS PAYABLE Mailing Address: PO BOX 2222 NEW YORK NY 222515-12354 Owner ID: 123456