I have written 2 REs to match several string sequences in a String. for e.g. lets assume the two regular expressions are RE1, RE2. The strings can be i
RE1
RE2
If RE1 and RE2 could match the same characters of the string, check them separately (does RE1 match the string, does RE2 match the string).