We have a client who sometimes has a workflow fail when a line break is entered into a single-value field that the workflow is supposed to retrieve - for example, a user will copy text from an existing document in a format like this and paste it into the field:
Smith, John R. MD
A Professional Corp PSP
When the workflow retrieves the field value, it terminates with an Invalid Object Name error. Could anyone help me with a regex expression that will remove any line breaks from a field, but leave all text before and after them?
Thanks!