For explaining using regular expression in java