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 extraction
Showing page 1 of 2 (12 total posts)
  • Regex for URLs

    Hi, I've been trying for sometime to write a regex to extract values from a url in Actionscript 2.0. My url could be of the form: http://<hostname>:<port>/<some page address> So far, i've been able to get the following to work: (https?):\/\/([\w\d#@%\/;$()~_?\+-=\\\.&]*):([1-9][0-9]*)\/ You might know that ...
    Posted to Construction Advice (Forum) by funkyasl on May 14, 2009
  • Regular Expression for URL Validation - Need Help With Last Part

    Hi there. I need to regular expression to evaluate this URL setup: http://www.website.com/part-1/part-2/part-3/part-4/some-here-amt-varies-924/ What I need that to evaluate to is /url.asp?id=924.  This is for ISAPI URL Re-Write.  Something like this: ^/part-1/part-2/part-3/part-4/some-here-amt-varies-924/  url.asp?id=$5 I just ...
    Posted to Construction Advice (Forum) by dennisg on May 13, 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
  • Specific URL regex requirement

    Hi everyone I was wondering if anyone could shed some light on what I’m trying to achieve , if not then no problem I can battle on with it. I am building a regex that will identify any valid url within a string and wrap it with an href tag. Im using the online regex builder here http://gskinner.com/RegExr/  Thus far I have this ...
    Posted to Construction Advice (Forum) by Andre.pageot on October 2, 2008
  • 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
  • hash and args

    greetings,    in javascript, i'm trying to pull out pieces of a url via regex. my url looks like this:   http://domain.com/index.html#hash=http://domain.com/index.php?arg=val&arg2=val2&meta=val&meta2=val   I want to be able to extract everything after hash= up until meta=. but i want it to go to meta= if ...
    Posted to Construction Advice (Forum) by trashman on July 21, 2008
  • URL matching... it's been done to death, but what is going on with this?

    Hi guys and gals, Ok, some background: I'm writing a Twitter application (javascript) so I have to parse all kinds of URLs. This is what I have: regex = new ...
    Posted to Construction Advice (Forum) by BklynKid on May 13, 2008
  • Apache ReWrite is killing me...

    Hello all, First post, but I'll try not to annoy you too much. I'm currently trying to write out a nice regex for Apache's ReWrite engine so that I can use search engine friendly (SEF) URLs. The problem I'm coming across is that optional parameters (such as language) are pulling in an 'undefined' value. Here's ...
    Posted to Construction Advice (Forum) by mcongrove on May 8, 2008
  • Simple url rewriting

    Hi guys, could you help me to create a simple url rewriting for this. ex: http://mysite.com/product/23/default.aspx ex: http://mysite.com/product/23/category/23/default.aspx ex: http://mysite.com/product/23/category/23/manufacture/2/default.aspx Basically I want a regex that can match above url, so i can rewrite the url to ...
    Posted to Construction Advice (Forum) by scheineden on April 8, 2008
  • How to get only link URL

    Hi!      Kindly  have a look on following web page: http://salondigital.net/gsg/gsg/www.goodsalonguide.co.uk/locator18f1.html 1- How can I get only and only the url which is against the name of salon or against 'full details' . 2- How can I avoid duplicaion of url through regexp in getting urls from above ...
    Posted to Construction Advice (Forum) by bluesapphire on January 23, 2008
1 2 Next >