How to use Regex as a key in Hashmap to match the given string with key in java

Printable View