Hello all,
I have a string with some codes (ex:«USER_ID#USERNAME#STATUS») for replacement like in this example:
Hello «USER_ID#USERNAME#STATUS», do you like «PROD_ID#PRODNAME#STATUS»?
I need to find a way to get all the codes for future replacement.
I can easily find one code with this regex:
/«(.*)#(.*)#(.*)»/
but can't find a way to get all the codes with preg_match_all.
Can someone help me? I'm using PHP.
Thanks