|
|
Browse by Tags
All Tags » URL
Showing page 2 of 3 (23 total posts)
-
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 ...
-
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 ...
-
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 = ...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
-
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: ...
-
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 ...
-
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 ...
2
|
|
|