import res = ",WWWWWW,hun,hun,WWWWW,"print re.sub(r"(?i)((?:,|^)[^\w\r\n\t]*)HUN([^\w\r\n\t]*)(?=(?:,|$))", "\1\2", s)
Standard input is empty
,WWWWWW,,,WWWWW,
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!