Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
([a-z ]*([A-Z])[a-z ]*)
/
gm
Input 1
New
$txt['addThe_fer_Te'] = 'Adds a Notification System to The rEst'; $txt['cs_add'] = 'Add'; $txt['add_stuff'] = 'Add stuff'; $txt['take_out'] = 'The Trash';
Extraction
$txt['addThe_fer_Te'] = 'Adds a Notification System to The rEst'; $txt['cs_add'] = 'Add'; $txt['add_stuff'] = 'Add stuff'; $txt['take_out'] = 'The Trash';