Hey guys,
I need some help with preg_replace()
I have something like this....
{$gallery_20}
And I want to use preg_replace to replace it with nothing.... however gallery_20 can be anything... but im not sure on the patten...
Can anyone help please?
I don't understand how to change all this.... $patterns = array ('/(19|20)(\d{2})-(\d{1,2})'); (from php.net)
Dan