-
-
Save kbbgl/ed9f1febe731d99820e9ec3073ef3869 to your computer and use it in GitHub Desktop.
[output regex matches in new line] #bash #grep #regex
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
echo "12341234444344412354444" | grep -P "4{2,4}?" -o | |
44 | |
44 | |
44 | |
44 | |
44 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment