preg_match for string a-z code example Example: php preg match space or start of string /\b(stackoverflow)\b/