Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^(?=.*(?<subtagcha>_*CHA_+))(?=.*(?<subtaglog>_*LOG_*))(?=.*(?<subtagtag>_*TAG_*)).*
/
gm

Description

Search for the occurence of the 3 following words: CHA, LOG and TAG. Should be in the above order sequence (but it also if works swapped).

Submitted by XrosaXasorX - a month ago