My code takes in an array of Strings like:
String one = "t>*y";
String two = ">*";
String two = "he*ll>*o";
String two = "hell*othere";
String two = "hell>*othere";
I need to be able to check:
if the String contains ANY '*' that is not proceeded by '>' it will print that string.
Thus it will print he*ll>*o hell*othere because they contain an asterisks without the > proceeeding it.