Possible Duplicate:
Search for string allowing for one mismatch in any location of the string
I am given a string s and a string t. Is there a regular expression to find all occurrences of t inside s with at most one mismatched character. (At most one character from t is allowed to be substituted by another.)