preg match all for shortcode

I need to store this in my blog here

preg_match_all("/\/", string_page_content, $matches);

Piece of code to separate or to match shortcode ''

Which then i need to replace the string found

echo str_replace( $matches[0][0] , gallery($matches[0][0]) ,string_page_content );

for instance if i have function

function gallery($var){

Choosing the Best Chat Software Chatting Tool – Chatwing

Picking a good chatting tool to embed to a site is an important decision for any site owner, as that chatting tool can either be beneficial or disadvantageous to the site itself. The chatting tool must have the right functions and must be easy for the viewers to use. One such chatting tool is a chat widget called Chatwing. And simply put, this is the last chatting tool the site owners will ever need.
Continue reading “Choosing the Best Chat Software Chatting Tool – Chatwing”