I'm having trouble..
I want to hide the email address like in the following example :
instead of this email address: testemail@gmail.com
I want this te********@g***.com
I've already tried this function and it didn't work !!
$newemail = preg_replace('/(?<=.).(?=.@)/u','',testemail@gmail.com);
it hides the domain of the email not the whole one ! if you guys have a better one that will be cool because I've searched over and over and I didn't see any topic that solves this problem.