Substring Index Python Find And Replace Regexpr