RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Pattern Title
Expression
^([a-zA-Z].*|[1-9].*)\.(((j|J)(p|P)(g|G))|((g|G)(i|I)(f|F)))$
Description
Regular expression to limit types of files accepted. This example matches .jpg and .gif files only.
Matches
filename.jpg | FileName.JPG | filename.gif
Non-Matches
filename.png | filename.xxx | filename.bmp
Author Rating: Not yet rated. Ramon Hildreth
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2018, RegexAdvice.com | ASP.NET Tutorials