CarlEOgden
Active Coder
Hi
I have a variable (a document) that has variables set within it, for example:-
[CODE lang="php" title="Variable contains"]Dear {VendorSalutation},
Please contact me on {OfficeTelephone} as soon as possible.
Regards
{StaffMember}
{OfficeTelephone}
{OfficeEmail}[/CODE]
Now, I'd like to search this variable and extract all the variables held within {}.
Any quick solutions to this?
Cheers in advance
Carl.
I have a variable (a document) that has variables set within it, for example:-
[CODE lang="php" title="Variable contains"]Dear {VendorSalutation},
Please contact me on {OfficeTelephone} as soon as possible.
Regards
{StaffMember}
{OfficeTelephone}
{OfficeEmail}[/CODE]
Now, I'd like to search this variable and extract all the variables held within {}.
Any quick solutions to this?
Cheers in advance
Carl.