i'm creating a PHP Mailing List System. what i need is regexing some character for the name, email, etc. For Example
Hi, [[FirstName]]
blablabla
Regards, Jeff
And the regex should detect the [[]], the FirstName and replace it with some string from DB.
I'm not regex expert, i've tried some regex but can't make the perfect solution..
Thanks..