Remove EQL
Remove EOL
Description
Removes EOL (end of line/newline) characters from any part of the text.
Category
Transformation
Supported Field Types
- text
Output Field Type
- text
Arguments
None
Pseudo-code (Python)
def func(val):
"""
val: value of the text field
"""
import re
if val:
return re.sub(r'[\n\r]+', '', val)
else:
return None