I have a list of URLs, which I want to remove email or from href or by text.
& lt; A href = "mailto: EMAIL" class = "spamspan" & gt; EMAIL & lt; / A & gt;
How can I do this using PHP regex?
/ mailto: ([a-zA-Z0-9 _ \ .-] + @ [\ Da-z] .-] + \. [Ed.] {2,6}) "/ gm
view this demo
No comments:
Post a Comment