def _get_replacement_token(msg):
return (<EOL>None<EOL>if not re.search(r"<STR_LIT>", msg)<EOL>else re.search(r"<STR_LIT>", msg).group()[<NUM_LIT:2>:-<NUM_LIT:2>]<EOL>)<EOL>
Extract replacement token from exception message.