@ LOL 같은 고유어 빼고 첫글자가 대문자인 알파벳 소문자로 바꾸기

import restring = "Learn python. This Game, LOL, is Very interesting lol."

string = re.sub('[A-Z][a-z]+', lambda m: m.group().lower(), string)string

결과 :

'learn python. this game, LOL, is very interesting lol.'

참고 : https://dojang.io/mod/page/view.php?id=2438

+ Recent posts