Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » URL » URI
  • Relative Url Validation

    I will appreciate your help on validation reg expression for relative URL. our application has a text box for entering relative url : e.g /mystore/product/querystring?=aaaa The following conditions apply: 1. should begin with "/" 2. after first "/", if there is no subsequent "/", ?= et should be allowed 3. if ...
    Posted to Construction Advice (Forum) by gtmm9 on March 3, 2009
  • preg_match, to match URL in email.

    Hi,  I'm using PHP to parse an incoming email. I wish to be able to match then store URL's contained in the email message. I just need to figure out the RegEx to match URL's.  I've been currently building and testing ...
    Posted to Construction Advice (Forum) by pdxbenjamin on January 24, 2009
  • Expression for extracting valid Domain/host (see criteria)

    I've been scouring the internet trying to find an expression to extract domains from URL's. I've found a very good one, but it doesn't do ALL that I need it too. See below for criteria.   Current Expression: ^(?:[^/]+://)?([^/:]+) Lang: Java Current Logic:         matcher = ...
    Posted to Construction Advice (Forum) by bobnelson0 on September 11, 2008