InRegex Logo
InRegex
Neu

Find Whole Words in PHP

Erklärung

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

Regulärer Ausdruck

/	+/
Kopieren
Haben Sie Feedback?
PHP

Beispielverwendung

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

Ähnliche Reguläre Ausdrücke