Removing line breaks and paragraphs.

Removing line breaks and paragraphs.

Postby Geordie » 10.25.14 11:11 am

Hello and thank you for reading.
I have to copy and paste text to a database yet the field in which I'm going to paste cannot accept line breaks tabs or pargraph ends, which are present on the original text.
I tought to create a workflow that replaces these codes with ", " (e.g. using text find and repace), but i don't know how to input the codes in the 'find' field.
Any of you can help me???
thanks in advance!
Geordie
 
Posts: 1
Joined: 10.25.14 10:58 am

Re: Removing line breaks and paragraphs.

Postby rrobertson » 11.02.15 2:40 pm

Geordie,

My apologies for the delay in response.

Click on the Find and Replace in Text action in Automator, and then look at the bottom left of the main window. There's a "Note" in the action description which I believe will answer your question:

"Use /r for a return character, and /t for a tab character. To ignore instances of /r and /t strings, use //r and //t."

If that doesn't work for you, please let me know.

Ray Robertson
rrobertson
 
Posts: 43
Joined: 07.22.14 1:03 pm


Return to Text Actions

Who is online

Users browsing this forum: No registered users and 1 guest

cron