How to work with REGEX in Java
I am having hard time trying to set up a regex in Java for this string "\\abc\de\blah.zip\blah" which is a UNC path in my app.
I want to look for "\\abc\de" as the regex string in the above mentioned UNC path. However, when I try this method, it returns "false"
String input = "\\abc\de\blah.zip\blah";
String regex = "\\*de";
boolean isMatch = Pattern.matches(regex, input);
Please help me.
Also, if you have any good ref for REGEX online stuff, please let me know. The websites I read, I still could not understand well about these REGEX:(
Thanks and Regards, KK