summaryrefslogtreecommitdiff
path: root/progs/a583.py
blob: d9f40c75fa2de72a960f02ddc59efc01421fe02c (plain)
1
2
3
import re
def replace_max_specialchar(text,n):
 return (re.sub("[ ,.]", ":", text, n))