Created
April 3, 2021 07:04
-
-
Save termosa/f36b9fc0f3026e6826e2d79edb742c4b to your computer and use it in GitHub Desktop.
Regular expression that removes duplications
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^(.*)(\n\1)+$ | |
$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment