posted 6 years ago
I actually want to retrieve email,mobile no,website from a multiline string. I created patterns for them,but the problem is when i test the code for a multiline string, it always gives a mismatch. I tried using Pattern.MULTILINE but it has no effect. I want my application to find all the three details and store them into three different string variables. I also tried using the find() and group() method.