I need some php code
and if so I would be grateful if someone could supply.
(My head is spinning with ereg pattern matching)
The requirement:
--------------------------------------------------------
I have a string which can contain any number of 'tokens'.
A token is text enclosed by {}
So for example
==> Hello {abc}, goodbye {def}
I want to remove the {} and replace each token
with a string derived from the token.
So I end up with
==> Hello xxx, goodbye yyy
where xxx = function (abc)
yyy = function (def)
--------------------------------------------------------
Thanks
Harvey
*** Get Paid to Build a Mailing List Using CPA Offers! ***
Easy email marketing automation without moving your lists.
Full integration with JVZoo, DigiResults, and WSO Pro for secure WSO's and WSO memberships.
www.dlguard.com
Serving the Warrior Forum since 2004
http://www.foreverfashion.com/
Roger Willcocks
L-Space Design
Please vote to help me win a 3kW solar array
Roger Willcocks
L-Space Design
Please vote to help me win a 3kW solar array