Hi all just a quick question what the Regular Expression for a preg_match all my input data is [tag] tag , tag1 , tag2 [/tag] and wish to output the information between them so i get the output of tag tag1 tag2 Thanks..
Something like '/(\[tag\])(.+)(\[\/tag\])/' should work for your regex pattern. You would then need to explode or split by ' , '.