Skip to main content
1 vote

Detect and remove consecutive lines with the same information but with different amount of spaces in them

Regarding "I'd like to do it with a regex" - please bear in mind the quote: Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they ...
Ed Morton's user avatar
  • 33.1k

Only top scored, non community-wiki answers of a minimum length are eligible