You've split your string by a single white space character and then are looking for multi-word items in your array of single words. You probably want to use the regular expresson on the un-split string.
In reply to Re: Regex word boundries
by duff
in thread Regex word boundries
by MonkPaul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |