Hi elainathewonder,
Greetings of the day.
I have done something for you, just have a check and let me know if you mean this.
data test;
patternID=prxparse("/L\w+E/o");
input address $80. ;
position = prxmatch(patternID, address);
if position ^= 0 then address= tranwrd(address,substr(address,POSITION,5),'Love');
datalines;
Zack Johnson, 153 LirsE Str, Chapel Hill, NC27514
Dan Zack, 67891 64th st, Brea, CA
Sally Johns, 4 Moritz LtreE, Duarte, CA 91010
;
run;
In the above example LirsE, LtreE few words are there which got replaced with a common word 'Love'. So if think like there is some kind of similarity in the misspelling texts you can identify that and parse the same as per example and you are done.
Please check and let me know if there is any disconnect.