check if list2.containsAll(list1) but with not exact same String

Posted: asked May 19 at 11:30 - Source : stackoverflow

I have List1 and List2, if all Strings in List1 exist in a similar form (see below), I want to receive true.

The problem now is,

List1:
1. iscat
2. ishooman
3. isdoge

List2:
1. is_Cat
2. is_Hooman
3. is_doge

Logically the function list2.containsAll(list1) returns a false because the Strings are not the equal.

How would I check for similar Strings? I can think of Regex but wouldn't have a explicit term in my mind right now, also I do not know how to use Regex in Java yet.

Thanks