For Java use this: ^.*Test.*$
.
It reads as: The string begins (^
) then any character (.
) can be repeated zero or more times (*
) then Test
and then again any character (.
) repeated zero or more times (*
) and the string ends ($
).
For Java use this: ^.*Test.*$
.
It reads as: The string begins (^
) then any character (.
) can be repeated zero or more times (*
) then Test
and then again any character (.
) repeated zero or more times (*
) and the string ends ($
).