For example:
My phrases are [$IMAGE ID="1"]
, [$URL ID="1"]
or [$SIGNATURE]
(without ID)
How can I get each the NAME
after $
and optional the ID after ID="
?
And how do I replace each NAMEPLACEHOLDER
(with ID) with my replaceNAMEPLACEHOLDER($id)
function?