Regular Expressions 101

Library entries

file extension validation

Vote

2

Regular Expression
javascript

/
\.(doc|docx|log|odt|pages|rtf|txt|csv|key|pps|ppt|pptx|tar|xml|json|pdf|xls|xlsx|db|sql|rar|gz|zip)
/
i

Description

Loading markdown...
Submitted by Lisa - 6 years ago