Quantcast
Channel: Regex for string contains? - Stack Overflow
Viewing all articles
Browse latest Browse all 6

Answer by ACV for Regex for string contains?

$
0
0

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 ($).


Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>