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
/
^(?!(?:\\.|[^"]|"(?:\\.|(?!test)[^"])*")*$).*
/
gm
Input 1
1
New
dim a as string = " test" ( test should be detected) dim a as string = "abc test xyz" ( test should be detected) dim test as string = "abc" ( test should not be detected) dim str as string = "select id from " & test & "where place" (test should not be detected)