Regular Expressions 101

Community Patterns

Words that not begining with a consonant character

0

Regular Expression
PCRE (PHP <7.3)

/
\b[^ aeiouAEIOU][a-zA-Z]*\b
/
gm

Description

Match all words that not begining with a vowel character

Submitted by Hadi Akbarzadeh - 3 years ago