Anybody know regex?
What's a regular expression that will find all occurences of anything between the following characters: {$ and }
So if I have some text: "The site name is {$site}", I need to match 'site'. It has to be greedy as there may be multiple matches.
Any ideas? Thanks.
|