|
|
Browse by Tags
All Tags » URL
Showing page 1 of 3 (23 total posts)
-
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 ...
-
I'm trying to match the file extension of an html link, and matching the one PREVIOUS to the last one when there are two of them, to get the original file extension, not the extension added by the archive.
So for "file.ai.zip" $2 should match "ai".
Here's the one I came up with, but $2 and $3 ALWAYS match ...
-
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 ...
-
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 ...
-
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 ...
-
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 -> ...
-
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 ...
-
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 ...
-
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: ...
-
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
1
|
|
|