Thread
:
find and replace links in a large text file
View Single Post
06-23-2009, 06:41 PM
d-null
. . .
Industry Role:
Join Date: Apr 2007
Location: NY
Posts: 13,724
Quote:
Originally Posted by
GrouchyAdmin
wildcard to match any type of link? Sure!
Code:
/a[\s]+[^>]*?href[\s]?=[\s\"\']+(.*?)[\"\']+.*?>([^<]+|.*?)?<\/a>/i
Enjoy.
thanks Grouchy, you saved me some time, I'll try it out soon
__________________
__________________
Looking for a custom
TUBE SCRIPT
that supports massive traffic, load balancing, billing support, and h264 encoding? Hit up
Konrad
!
Looking for designs for your websites or custom tubesite design? Hit up
Zuzana Designs
Check out the #1 WordPress SEO Plugin:
CyberSEO Suite
d-null
View Public Profile
Find More Posts by d-null