Code: Select all
#<a\s+(?:(?:title|class|id|style)=["\']?[^\'"]*["\']?\s*)*(?:href=["\']([^"\']*)["\']\s*)(?:(?:title|class|id|style)=["\']?[^\'"]*["\']?\s*)*(rel=["\']?(\w+)["\']?)*(?:[^>]*)?>(.*?)</a>#is
Just thought I'd share...
Cheers,
Ben
Moderator: General Moderators
Code: Select all
#<a\s+(?:(?:title|class|id|style)=["\']?[^\'"]*["\']?\s*)*(?:href=["\']([^"\']*)["\']\s*)(?:(?:title|class|id|style)=["\']?[^\'"]*["\']?\s*)*(rel=["\']?(\w+)["\']?)*(?:[^>]*)?>(.*?)</a>#is