Skip to content

Instantly share code, notes, and snippets.

View annasdtc's full-sized avatar

Anna SdTC annasdtc

View GitHub Profile
#!/usr/bin/python
# -*-coding: utf-8 -*-
import re
string = "aaaeijfdfsafdo"
Resultado= re.sub("^aa.+o$", "u", string)
print Resultado