Optimize regular expressions in trimBase64String()