Try with
preg_replace('/\d(?!(?>\d*)\))/X', '*', $phone)
wich would be a bit more efficient than
preg_replace('/\d(?!\d*\))/X', '*', $phone)
Jeff Lewis wrote:
I have been working on a script to parse a CSV file and in the process I
clean out a lot of the garbage not needed but I am a
Jeff Lewis wrote:
I have been working on a script to parse a CSV file and in the process I
clean out a lot of the garbage not needed but I am a bit stumped on one
aspect of this file. It's a list of over 3000 contacts and I'm trying to
mask a lot of the information with *.
So as I loop through
2 matches
Mail list logo