cMyString = FILETOSTR('MyFileToXlate.RTF') oRegExp = CREATEOBJ('VBScript.RegExp') oRegExp.Global = .t. && allow find of more than one occurance oRegExp.IgnoreCase = .t. && make search case-insensitive oRegExp.Pattern = '<< SomeString >>' && what to find - can include regular expressions cMyString = oRegExp.Replace(cMyString,'what I want for this slug') && replace each with specified value oRegExp.Pattern = '<< Another Slug >>' cMyString = oRegExp.Replace(cMyString,'what I want for this paticular slug') * yada, yada, yada =STRTOFILE(cMyString,'MyXlatedFile.RTF')It's part of WSH version 2.0 or later; see the refs in my sig block for details. You can get fancy and use regular expressions, to the extent of coding up something that strips out your 'slug' and macro-expands the variable referenced by the slug content - you'll have to write this for yourself.