Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Computer Science (http://www.domainnameforum.org/forumdisplay.php?f=136)
-   -   Regex to extract URL? (http://www.domainnameforum.org/showthread.php?t=149270)

webdev 03-12-2011 01:45 PM

Regex to extract URL?
 
Hi, I'm writing a web crawling program for my personal site, and I'm looking at using regex to extract the URLs. However, I have both absolute and relative URLs, and I want to match URLs only on my site (mysite.com). So it would match: <div class="codeblock"> <div class="spaced"> <div>(


All times are GMT -4. The time now is 01:53 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.