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 8
Title Test Details Images FileUpload Control
Expression
^.*([^\.][\.](([gG][iI][fF])|([Jj][pP][Gg])|([Jj][pP][Ee][Gg])|([Bb][mM][pP])|([Pp][nN][Gg])))
Description
By using this we can upload only images files. This is the simplest and its execution is fast.
Matches
D:\Documents and Settings\Administrator\Desktop\New Folder\60101-prep.png
Non-Matches
D:\Documents and Settings\Administrator\Desktop\New Folder\60101-prep.pdf
Author Rating: The rating for this expression. Gaurav Agrawal
Title Test Details Numeric 0 to 29
Expression
^(([0-2])?([0-9]))$
Description
It is use for 0 to 29.
Matches
0 1 10 29
Non-Matches
30 -1
Author Rating: Not yet rated. Gaurav Agrawal
Title Test Details 1 to 9999 Positive Numbers
Expression
^[1-9]{1}$|^[0-9]{1}[0-9]{1}[0-9]{1}[0-9]{1}$|^9999$
Description
This is only +ive numbers excluding 0. It takes 1 to 9999.
Matches
1, 123, 9465, 9999
Non-Matches
0, -1, -123, 99999
Author Rating: Not yet rated. Gaurav Agrawal
Title Test Details Indian Mobile numbers
Expression
^([9]{1})([234789]{1})([0-9]{8})$
Description
Its 10 digits Indian Mobile Number validation.
Matches
9829373514
Non-Matches
919829373514, 09829373514
Author Rating: The rating for this expression. Gaurav Agrawal
Title Test Details Date Format Regular Expression
Expression
^\d{2}\-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec|jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec|JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)\-\d{4}$
Description
By using this you can validate your date string in (dd-MMM-yyyy) format.
Matches
23-Apr-1982 , 23-APR-1982
Non-Matches
23-04-1398
Author Rating: Not yet rated. Gaurav Agrawal
   Displaying page 1 of 1 pages; Items 1 to 8

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