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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w ]*.*))+\.((html|HTML)|(htm|HTM))$
Description
Path of files HTML and HTM
Matches
c:\arquivo.html | \\home\arquivo232.HTML | Z:\teste.htm
Non-Matches
c:\arquivo.png | arquivo232.HTML | Z:\teste
Author Rating: The rating for this expression. Diego Siebra Ferreira
Source
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: Doesn't Match FQDN
Name: Chris
Date: 10/22/2007 12:40:36 PM
Comment:
Nice regular expression but it doesn't allow for the usage of a fully qualified domain name like: "\\Server.Domain\Folder\File.ext"


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