> Hi all, > > I am working on ta.wiktionary.org team to help them to upload words and > their meanings automatically. > > Wiki has its own syntax and we have for format the text to suit with the > syntax. > > Here is a requirement. > > There is a text file. > https://github.com/tshrinivasan/tools-for-wiki/blob/master/replace-first-dot/sample-text.txt > > We have to replace first DOT . in sentence with #:
I don't think I have understood the requirement completely. Anyway here is an implementation https://gist.github.com/bravegnu/03acfa2473c97911d252 Regards, Vijay _______________________________________________ Chennaipy mailing list Chennaipy@python.org https://mail.python.org/mailman/listinfo/chennaipy