rgb192
asked on
using php: create a regex or str_replace or preg_replace to hide a portion of an email
given an email
show first 3 letters/numbers
and replace the next letters numbers with
*
until the
@
bobjones@gmail.com
bob*****@gmail.com
amyadams@yahoo.com
amy*****@yahoo.com
richardsmith@aol.com
ric*********@aol.com
show first 3 letters/numbers
and replace the next letters numbers with
*
until the
@
bobjones@gmail.com
bob*****@gmail.com
amyadams@yahoo.com
amy*****@yahoo.com
richardsmith@aol.com
ric*********@aol.com
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks for
regex
substr, explode, implode
regex
substr, explode, implode
Open in new window