Strip regexp match