php preg match english and space character code example Example: php preg match space or start of string /\b(stackoverflow)\b/