If you have
$str1 = "h*llo";
$str2 = "hello";
is it possible to quickly compare them without first having to remove the * from str1, and the matching indexed character from str2?
The solution would need to work regardless of how many * are in the string, eg:
$str1 = "h*l*o";
$str2 = "hello";
Thanks for taking a look.