Save on repeat search queries by replacing all matches at once.
Allow shorter IDs (to match legacy processing profiles)
Tighten regexes now that we're doing global replace.