Forum Moderators: coopster
I am looking for a way on getting the locating a string that is surrounded by {}, and then be able to extract the contents in between the brackets. An example would be:
{index}
I would then I would be able to extract index from the {index} string. Although, I have tried looking through preg_match(), eregi() and those type of functions, though I have no idea what would be the best way to have this done. Any ideas?
[edited by: Furutsuzeru at 11:53 pm (utc) on Aug. 8, 2008]