I’m kinda stuck here, I made some preg coding to find any 11 digits numbers, but what I don’t know how to make it use the found/matched to a function like “preg – time()”
Reminder, the 11 digits will might be found more than one time, so the function should be enable to be used on any of them, maybe a loop on a array or anything?
"#\d{11}#" - Quick example on the preg i might will use.
Help!
Use
preg_replace_callbackto use a custom function to make changes to each of the matches.