str_replace not working 100%

$match[0] is an array right! Is there a way to somehow take the message and replace in it each value from array $match[0]?

Some like this but I can’t figure how to grab the word that it’s replacing for the anchor link:

$post['message'] = str_replace(array('#GooglePlus', '#Twitter'), '[url='.$mybb->settings['bburl'].'/hashtag/0]0[/url]', $post['message']);