remove single quote from regex tokenizer