Hi there,
New to OR and no experience with this kind of work! I am trying to write a GREL expression to remove any carriage returns or new lines. I have tried a few different combinations, but there are still some records that have weird spacing. These are the GREL expressions that I have tried:
- value.replace (/\n/, " ")
- value.replace(/\r/, " ")
When I copied text into Notepad++ to see if I could find out some more information, I could see (just using the letter a to represent the text here)
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.CRLF
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.CRLF
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaCRLF
Can someone help me to write a GREL to remove the CRLF? We want the text to be one full paragraph without any hard returns or new lines.
Thanks so much!!