I want to use the PRXCHANGE function in SAS to replace strings which have the pattern
[string ending in a lower case letter][string beginning in upper case letter]
but such that this pattern did not arise from a string such as "McCoy" or "MacDonald" (and possibly other exceptions which I can hard code), and replace the entire string with the second substring above. I can't quite figure out how to negate from only a subset of strings.