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 1 of 3 (21 total posts)
  • RegEx and Google Analytics

    Hi Guys. I am trying to set up a Goal Funnel within Google Analytics for a clients ecommerce website but I am having trouble writing the regular expression for the final payment page: Basically I believe the URL is: https://secure.romancart.com/payment/genComplete.asp?orderid=6383316 Obviously the url remains the same with the exception of ...
    Posted to Construction Advice (Forum) by mackenzie on November 25, 2009
  • PHP regex

    I need help with a regular expression in PHP, I have made a small forum, and I am adding features, up until now whenever someone types a url "http://..........." I use a regex to make a link, but now I have new features, one of them is adding youtube videos, to do this I ask my members to simply type youtube(youtube_url) the problem is ...
    Posted to Construction Advice (Forum) by djp1@ymail.com on July 25, 2009
  • 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
  • Parse URL, Extract part after .edu/

    I'm trying to create two javascript bookmarklets:1. Take the current URL of the page and open a new window with a URL based on the current page. Some examples (I use "->" to mean "this URL turns into that URL"): http://example.edu/som/faculty_staff.cfm#HeaderTitle -> ...
    Posted to Construction Advice (Forum) by SimonDorfman on March 16, 2009
  • 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
  • Append parameter to URL

    Hi, I need your help in building a RegExp (to be used in PHP) that will append a parameter (?param=value) to the URL. They follow this format: http://website.com/abcdef123456.html  or this format : http://website.com/a/category/123456-ABC/Long_description_goes_here.html Here's what I want to achieve. Before: ...
    Posted to Construction Advice (Forum) by HexCAFE on January 15, 2009
  • Re: Issues with percentage signs in URL redirection

    Hi,   Found a way... The unusual string of characters eg: "%e2%80%93" can simply be matched with a "(.+)" (no quotes)  I'm sure there's a better way but I'm new to regex and I'm happy that I'm now able to redirect the URL's that I want to.  Regards,  R  
    Posted to Construction Advice (Forum) by rschilt on January 10, 2009
  • 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
1 2 3 Next >