I have an array $text
:
Array
(
[0] => "(This is so cool!)"
[1] => "look at @[48382669205:275:JAY Z] and @[28940545600:27:Beyonc\303\251]'s page"
[2] => "@[30042869909:32:Van Jones] on Bowe Bergdahl drama"
)
I want to match delete the @[0-9] text, so my output looks like:
Array
(
[0] => "(This is so cool!)"
[1] => "look at JAY Z and Beyonc\303\251's page"
[2] => "Van Jones on Bowe Bergdahl drama"
)
I tried a whole bunch of things (preg_replace, etc) but this regex is so tricky I can't get the result I want! Any help is appreciated.