try using this:
/\{\$[^\}]+\}/
BTW:
"greedy regexp" does not have anything to do with multiple matches...
if you would use /\{\$.*\}/ on "hello {$site} and a happy new {$what}"
greedy regexp would match a "{$site} and a happy new {$what}" and the non-greedy one would match a "{$site}" and "{$what}"
__________________
Webmasters! Looking for new affiliate programs to promote?
Affiliate Program Search <-- Search for programs with FHGs, RSS feed, specific niche sponsors, ...
|