Remove regexp groups for whitespace prefix/suffix