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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
\.com/(\d+)$
Description
This is a regex I wrote to capture requests to AspAlliance.com with an article id as the only thing after the domain. So http://aspalliance.com/123 would go to article number 123. It maps the URL to the actual aspx file that displays the article based on the ID.
Matches
http://aspalliance.com/123 | www.aspalliance.com/123 | http://aspalliance.com/34
Non-Matches
http://aspalliance.com/article.aspx?id=123 | http://aspalliance.com/ | http://aspalliance.com/articl
Author Rating: Not yet rated. Steven Smith
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: title2
Name:
Date: 10/10/2008 2:19:29 AM
Comment:
看看


Title: dfgfdg
Name: dfgfdg
Date: 6/9/2007 5:02:39 AM
Comment:
王fdgdgdgdfg


Title: www.abc.com/123
Name: www.abc.com/123
Date: 5/25/2007 12:49:00 AM
Comment:
www.abc.com/123


Title: 2
Name: 222222222222
Date: 5/25/2007 12:26:33 AM
Comment:
222222222222


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