Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
capitalAfterVowel
Open Workspace
PCRE2 (PHP)
Substitution
Created 2022-12-23 09:27
1
Regular Expression
/
(
[
aeiouy
]
)(
\s
*
)(
[
bcdfghjklmnpqrstvwxz
]
)
/
gmi
Description
Given a string, make every consonant after a vowel uppercase.
Submitted by
Anonymous