I have a string that holds a value thus -
"01/09/2000","09:00","XX","YYYYYYYY YYYY
","XXXXXXX
XXXXXXX ",""~"31/03/2020","","BB","","",""
In the above there is a CRLF in the middle of the Y value, a CRLF within the X value and another before the " at the end of the X value. I want a all the CRLF to be removed from the string so it returns like this -
"01/09/2000","09:00","XX","YYYYYYYYYYYY","XXXXXXXXXXXXXX",""~"31/03/2020","","BB","","",""
What would be the java expression to remove all these?