Regular Expressions 101

Library entries

Negative lookahead to excluded non-Windows Office and a couple others

Vote

0

Regular Expression
pcre

/
^(!?.*\.(docx|pptx|xlsx|pdf|txt|zip))$
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago