#!/bin/bashs="hellocabbypabbalokkalappacooolapplelaala" grep -vP '^(?:(.)\1*(?:(?!\1)(.)(?:\1|\2)*(?:(?!\1|\2|3)(.)(?:\1|\2|\3)*)?)?)?$' <<< "$s"
Standard input is empty
hello cabby lokka apple
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!