Hi everyone,

The project I'm currently working on requires a lot of pattern matching and I'm currently having troubles matching more an amount of words. I'm trying to find strings in an array which have less than three words in them, I'm using the below but it is not working:

(preg_match("'(S*s+){0,3}'isx" ,$qualified[$i][1]))

Thanks heaps for your time,