|
|
Browse by Tags
All Tags » URL
-
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 ...
-
Hi All,
I am trying to find out a regex pattern for a particular URL type, to extract a particular piece of information from that URL.
I am working on JAVA and the URL sample goes like this
lid={ifpdf:92000000000012345}{ifnonpdf:33000000000012345}&cadid=12345}
I am trying to search for the italicized part of the ...
-
I need a regular expression to match three different sections of a URL... I think i am close, but there are a couple of small issues and my head is starting to spin! Any help appreciated:
REQUIREMENT
To split a URL into three parts:
Category String (may or may not be present)
Product String (may or may not be ...
-
Hello. I am have an application in Ruby on Rails. I need help with the following regular expression to find URL's contained anywhere in posted text and wrap them with <a href="URL">link</a> parameters so that they link in HTML. Two examples are below:
Check out http://www.xyz.com => Check out <a ...
|
|
|