InRegex Logo
InRegex

Find Whole Words in PHP

Explication

This regex pattern uses the  metacharacter to match the boundary between a word character and a non-word character. It ensures that the matched word is a whole word and not just a part of a larger word.

PHP

Expression Régulière

/	+/
Copier
Avez-vous des Retours ?
PHP

Exemple d'Utilisation

preg_match_all('/	ext+/', $text, $matches);
Copier

Expressions Régulières Similaires