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
Showing page 2 of 3 (23 total posts)
  • Re: Issues with percentage signs in URL redirection

    Hi,   Thanks for responding. The only issue is I'm not doing the redirection in Apache. Rather doing it in Wordpress using a Redirection plugin that allows me to enter redirections on URL's in regex. So I basically need to get a match on "%e2%80%9c" and "%e2%80%9d". I tried the following based on your example ...
    Posted to Construction Advice (Forum) by rschilt on January 10, 2009
  • Issues with percentage signs in URL redirection

    Hi, Although technically reasonably competent - I am a newbie to the world of RegEx. A have a website/blog and have been tidying up my URL's and have been having trouble in creating a regex to redirect URL's such as this ...
    Posted to Construction Advice (Forum) by rschilt on January 9, 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
  • Uncommon URL pattern retrieval

    Hi, Anybody out there, I'd be immensly greatful if you helped me fix one regular expressions of mine. Basically I've written a regular expression in PHP identifying a pattern of a certain type of URL REGEX: /(http\:\/\/dx\.doi\.org\/.*?)(\s|$|;|>)/ it will catch strings of URLs from the 'http://dx.doi.org/' domain, looking ...
    Posted to Construction Advice (Forum) by ksyandagger on August 19, 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
  • Need help writing a regex to convert a YouTube Embed URL.

    Hello, I'm modifying some code that scans through an html document, and converts YouTube links to a URL of our server with $replacement1+ the YouTube ID as a URL parameter "url" (which you can see in the last line).  Everything seems ok, I just can't figure out the line for $pattern1.  I've tried probably 100 things ...
    Posted to Construction Advice (Forum) by liwii on April 15, 2008
  • Need help with zero or once matches

    Urls:  "~/Home/Partner/OnBoard/Cabin/default.aspx" "~/Home/Partner/OnBoard/Cabin/default.aspx?param=2" regex: (~/[Hh]ome/[Pp]artner/[Oo]nboard/)(.*)(/.+\..+)(\?)(.*) current matches:  "~/Home/Partner/OnBoard/Cabin/default.aspx" None "~/Home/Partner/OnBoard/Cabin/default.aspx?param=2" 1: ...
    Posted to Construction Advice (Forum) by Bkr on February 26, 2008
  • pulling specific variable from querystring URL

    Hi, I am using PHP5 on a XAMP installation. I am trying to extract a specific variable from a querystring (which is stored in my MySQL DB) The format of the string is always consists of the same parameters (p, x & y), however sometimes they could be in a different order. A sample querysting is below and I am ...
    Posted to Construction Advice (Forum) by sanmi on February 12, 2008
  • PHP Substring Equivalent in Regex

    Hello, I am building some custom urls for finding images online. These are like:  www.website.com/images/123456789.jpg  Usually these are isbns or upc codes for products or books. I am currently doing string replacement by php, for substituting the number by an expression and replacing that expression with whatver number, when I do a ...
    Posted to Construction Advice (Forum) by ccisystems on December 2, 2007