Not being well-versed in programming languages of any sort, I hoped someone here might be able to help me do the following. When copying and pasting text from PDFs into other documents, there are two tedious operations I currently do using find-and-replace, and would like to automate them by turning them into a Service through Automator. I'm running Snow Leopard, so this should be easy. What I can't do for myself is write the script. I would like the service first to find the string " - " (space-hyphen-space) and replace it with "" (an em-dash with no spaces on either side). Then I would like it to find the string "- " (hyphen-space) and delete it (i.e., replace it with nothing). I think Automator can accomplish this using AppleScript or a shell script. Can anyone help me?