Url rewriting a Regex help.

Posted by stacker on Stack Overflow See other posts from Stack Overflow or by stacker
Published on 2010-06-02T02:57:09Z Indexed on 2010/06/02 3:03 UTC
Read the original article Hit count: 304

Filed under:
|

What Regex do I need for match this url:

Match:

1234
1234/
1234/article-name

Don't match:

1234absd
1234absd/article-name
1234/article.aspx
1234/any.dot.in.the.url

© Stack Overflow or respective owner

Related posts about regex

Related posts about url-rewriting