 -*- coding: utf-8 -*-
import re

def remove_comment(comment):
    print re.sub(r'/\*.*?((\*/)|($))','',comment, re.M)

remove_comment('AAA')
remove_comment('AAA/*BBB*/')
remove_comment('AAA/*BBB')
remove_comment('AAA/*BBB*/CCC')
remove_comment('AAA/*BBB/*CCC*/DDD*/EEE')
remove_comment('AAA/a//*BB*B**/CCC')
