Ivan Turner wrote:I believe I've got it. In my String, a regex pattern is stored as a String. A Pattern is not a String! To get the Pattern's variable to show it's pattern, use the pattern() method and that allows for the comparison.
Exactly!
Thanks again. You're wonderful!!
I know, I know
And you're welcome of course.