You can try the String.split() method with regular expressions for punctuation, but you might lose the . at the end.
You could try int start = myString.indexOf(":") + 1; int end = myString.indexOf(".", start) + 1; String message = myString.substring(start, end);
Or int start = myString.indexOf("Effective"); etc.
There are probably other ways to do it, but they will all depend on the message String always being in a similar format. Changing "Effective" to "Intended" will make it impossible to find your substring.