human
Regex to remove periods in acronyms?
assistant
Here is some code to remove periods inbetween capital letters that aren't immediately preceeded by word character(s) in a string `s` using regular expressions

re.sub('(?<!\\w)([A-Z])\\.', '\\1', s)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.