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 4
Title Test Details IP address validation
Expression
^((2[0-5][0-5]|1[\d][\d]|[\d][\d]|[\d])\.){3}(2[0-5][0-5]|1[\d][\d]|[\d][\d]|[\d])$
Description
Validates IP addresses and subnet masks
Matches
192.168.0.1 255.255.255.0
Non-Matches
423.192.168.1
Author Rating: The rating for this expression. Marko Maruna
Title Test Details Email validation
Expression
^([\w\._-]){3,}\@([\w\-_.]){3,}\.(\w){2,4}$
Description
Validates email address
Matches
marko@gmail.com
Non-Matches
a@a.c
Author Rating: Not yet rated. Marko Maruna
Title Test Details Valid HTML code
Expression
^\<(\w){1,}\>(.){0,}([\</]|[\<])(\w){1,}\>$
Description
validates HTML tags
Matches
<br><b>fsd</b><br>
Non-Matches
<br><<<<>br>
Author Rating: Not yet rated. Marko Maruna
Title Test Details Picture upload validation
Expression
^(.)+\.(jpg|jpeg|JPG|JPEG)$
Description
validates jpg/jpeg picture extension
Matches
marko.jpg marko.pic.jpeg
Non-Matches
marko.exe
Author Rating: Not yet rated. Marko Maruna
   Displaying page 1 of 1 pages; Items 1 to 4

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