title: How to search string with all possible combination in java?
body: <p>How to implement string matching with all possible combination of given key in Java just like Android studio.<a href="https://i.stack.imgur.com/U52Fs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/U52Fs.png" alt="enter image description here"></a> does? Any regex pattern available.</p>