Hi there,
I am trying write an expression that matches urls like this
http://www.mysite.com/sdfsdfsdf/../page.html
I am trying to make it match
/sdfsdfsdf/../
If I do this
/(.*?)/../
...
http://www.experts-exchange.com/Programming/Languages/Scripting/Perl/Q_21599726.html
Zones:
PerlDate Answered: 10/18/2005 Rating: 9.8 Views: 0
Using PHP, I want to do the following, but am having trouble with the match string:
$source = "<a href='a url'>foo</a>"
Ultimately, I need to replace foo with bar but foo varies as well as 'a...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_22139071.htm...
Zones:
PHPDate Answered: 01/27/2007 Rating: 8.0 Views: 0
regex match URL starting with http:// or https:// that contains a period in the folder path
example matching URLs:
http://anyhost.somewhere.to/anyhost.fakedomain.com/
http://anyhost.somewhere....
http://www.experts-exchange.com/Programming/Languages/Regular_Expressions/Q_22426744.html
Hi,
I'm pretty new on regex and pretty on hurry.
I need a regex that matches this :
http://www.website.com/category,subcategory, a-number, another-number.aspx
I can strip the website name...
http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_21475841.html
Zones:
C#Date Answered: 06/30/2005 Rating: 9.6 Views: 0
I've read the php.net documentation and the more I read it, the more I get confused. Most other commands are easy to wrap my head around but this one makes zero sense to me.
I've modded a link e...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_21606266.htm...
Zones:
PHPDate Answered: 10/25/2005 Rating: 7.8 Views: 0
I am trying to figure out a regular expression to match some URL's for a website. The expression needs to match the main URL and any random URL's.
The main URL would be: http://www.website.com
...
http://www.experts-exchange.com/Programming/Theory/Probability_and_Statistics/Q_22402318.h...
Hi,
I have a URL i.e.:
http://www.mydomain.org/structure.aspx?Code_ID=2488
I have a column in a database called 'Code_ID' I need to compare the values in the Code_ID column with the URL value,...
http://www.experts-exchange.com/Programming/Languages/.NET/Visual_CSharp/Q_22938681.html
Hi folks,
I am working on a sign up page (perl back-end) that takes a URL as one of the required fields during the registration step. When submitted, the perl script uses the following regex to ...
http://www.experts-exchange.com/Programming/Languages/Regular_Expressions/Q_24542419.html
using visual basic 6 regular expression how can i match a question mark in a url?
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_23017620.html
Zones:
Visual BasicDate Answered: 12/12/2007 Rating: 8.0 Views: 0
Still not knowing regular expressions... How do I match a specific URL, say http://www.example.com, from an array. See code snippet.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_24168379.htm...
Zones:
PHPDate Answered: 02/23/2009 Rating: 8.0 Views: 0