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
/
\bLUA\b
/
gm
Input 1
LUA lua I eat LUA I ate LUAU I used lua I used LUA today I used LUAU today I used lua today lua says hello LUA says hello
Substitution
LUA lua I eat LUA I ate LUAU I used lua I used LUA today I used LUAU today I used lua today lua says hello LUA says hello