Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
__t\(\s*["'](.*)["']\s*(.*)\)
/
giU
Input 1
1
New
alert( __t( 'Minu argumendid {0}, {1}, {2}, {3', 'tere', 'ants','lahe', 'midagi' ) ); alert(__t( 'Mingi tekst') ); alert(__t("Mingi tekst") ); alert(__t( var_name ) ); __t('Mingi tekst') function name() { console.log(__t('sdfsdf')); } true ? __t( 'Mingi tekst' ) : __t( 'Teine tekst' ); $(el).html( __t( 'Tekst' ) + variable + '__t( 'Tekst' ) ); function( [ __t( 'tekst' ), __t( 'tekst2' ) ] );