Ive gone over that page already and mabey I missed it but I couldnt find anything that delt with wildcards in strings, yes i could probably cut out the middle of a string but it would be much easier if I could do it with wildcards. If there isn't a way i guess i can work on the alternative which is parsing the strings but if there is a way to do this:
if ($variable == "$variable2")
{
}
id love to know!