wildzero
asked on
Regular Expression
Hmm
I am trying to do an expression and use preg_replace to remove all urls, except some
ie
/<a(.*?)href=\"(.*?)(ebay. \.com)(.*? )\"(.*?)<\ /a>/
Where that would remove all urls except ebay.
but it dosn't replace anything, how can I tell it to 'ignore' ebay.com?
I am trying to do an expression and use preg_replace to remove all urls, except some
ie
/<a(.*?)href=\"(.*?)(ebay.
Where that would remove all urls except ebay.
but it dosn't replace anything, how can I tell it to 'ignore' ebay.com?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thats working perfect