Hi anyone help me out how to write reg.expression for the following...
i need to split the names with the delimiter Mr or MR or mr or mR.
public class RegExp {
public static void main(String[] args) {
String testString = "mrstephMRpaulMRRusswehMrKeerDIMRNDIFDF";
String[] re = testString.split(____);
for(String s : re)
{
System.out.println(s);
}
}
}
Thanks,
alex