Regular Expressions in java
String s1="Anil-anilorg|anotherorg";
String s2="Anil-anilorg|";
I want to find weather s2 is present or sub-string of s1 by using regular expressions, but while I am doing that it is considering this symbol "|" as logical OR
I am using hbaseStringRegexComparator
to compare