Lets say you need to display a text teaser of the actual value, but you want to have all email format to be in "*******", say
should display asCode:$var = "Please email me at lance@workemail.com or at my private email lance@yahoo.co.uk";
How would you accomplish this? Is there a way to use str_replace to match a particular regular expression then replace that with a fix ten character asterisk? I wanted to hear your opinionsCode:Please email me at ******************* or at my private email ******************![]()








Bookmarks