Hi guys can someone help me with this
$input_lines= array("asdf","fdas", "asds", "d fm", "dfaa", "aaaa", "aabb", "aaabb");
preg_grep('/a{2}/', explode("\n", $input_lines));
Now this returns every string that has atleast 2 a BUT what I want is for it to return every string that has more than 2 character, whatever that character is whether a, b or s This is the output I want to achieve
asds
dfaa
aabb
aaabb