5 lines
No EOL
162 B
Python
5 lines
No EOL
162 B
Python
import re
|
|
def clean(input_text):
|
|
output_text = re.sub(r'keywords:', ', ', input_text)
|
|
output_text = re.sub(r'\n', ', ', input_text)
|
|
return output_text |