Hello,
How can I pattern match on the value of a variable? For example I have variables for $users_fname and $users_lname that may be populated with any text strings and I want to match on those values.
If $users_fname=Helen and $user_lname=Turner I want the following to match but I don’t want a different name to match:
My name is Helen Turner and I live on the moon. (match)
My name is Fred Smith and I live on the moon. (not a match)
Thank you.