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 » ?
  • [solved] Discarding a substring ?utm from an URL

    Hi! I am working in a website, using PHP (in Wordpress, if that matters). I need to match all links that contain the string ?utm and get rid of this string and all other junk until the end of the link. For example: Source [1]: <a href="www.example.com/anything/?utm_source=feedburner&utm_medium=feed"> I need the output to ...
    Posted to Construction Advice (Forum) by daniel3ub on March 1, 2011