in reply to Strip tabs from multi-line string
That isn't a regular expression. It sort of looks like one but its not. In fact, that's a transliteration and it doesn't use the /sm flags. You wanted either tr/\t//d or s/\t+//g.