A post was split to a new topic: [MACRO: Replace Text with Numbers (or, Lookup Data Using RegEx) Example)
For more information, see the wiki Searching the Forum for Answers section.