Regular Expressions 101

Community Patterns

FTP file details in mail body

0

Regular Expression
PCRE (PHP <7.3)

/
\(*(\w{3})[-_~\s*\.]*?(\d{1,}|\d*.\d*.\d*)[-_\s.~]*?(FTP|IMG|SCR|LIV|TVU).?-?\s?(\w{3}).\s?-?_?~?\.?(\d*).\s?-?~?_?\.?(.*)
/
gm

Description

tested 26-12-2019 13:26 hrs

Submitted by anonymous - 4 years ago