Regular Expressions 101

Community Patterns

remove multi-line text matches after matching multi-line pattern

0

Regular Expression
PCRE (PHP <7.3)

/
([^\v\t]+)\s*([^\v\t]+)\s*([^\v\t]+)([\v\t]+|Loading transaction details for|[\v\t]+\1){0,3}
/
g

Description

works great for repeated text lines

Submitted by irom77 - 3 years ago