Regular Expressions 101

Library entries

Validate a Particular File Extension

Vote

4

Regular Expression
pcre

/
(?i:^.*\.(xls|xlsx|doc|docx)$)
/

Description

Loading markdown...
Submitted by Andrew Morpurgo - 7 years ago