Regular Expressions 101

Community Patterns

Community Library Entry

3

Regular Expression
PCRE (PHP <7.3)

/
.(?:r\d\d|r\d\d\d|rar|zip)
/

Description

recognizes RAR archives (including splitted archives) and ZIP archives

Submitted by anonymous - 9 years ago