Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^python(3?(\.\d)?m?)?$
/
gm

Description

give then names of various executables filter out ones that run python3+

Submitted by anonymous - 4 years ago