added "isRegex" replacement setting for being able to interpret string as regex.