If I have a string like
$str = "Hello [Page 1] World [Page 23] Hello [Page 35] World [Page 624]";
And I want to remove all instances of "[Page #]"
How would I go about doing that?
Here's what I've got so far...
preg_replace('[Page [0-9]]', '', $str);