How to search & replace in Python?
<p>How can I add a character "-" to a string such as 'ABC-D1234', so it becomes 'ABC-D-1234'? 
Also, how can I add a character after the first 2 number, ie from 'ABC-D1234' to 'ABC-D12-34' Many thanks.</p>
