I have a lot of text files (jotted down recipes) with lists formated like this:
3 tablespoons all-purpose flour, 1/4 cup water, 1/2 cup white sugar
I'd like to convert both of them in the same style:
3 tablespoons all-purpose flour - 1/4 cup water - 1/2 cup white sugar
So in short; is there a quick way to make a paragraph style that converts bulleted lists into a horizontal list and replace comma's with "-" sign.
Thanks in advance!
It probably would require either GREP or a script.
Steve is right that a GREP expression could probably help. If you know the text is always a comma followed by a digit, you could find
and replace with
I replaced with an en dash...you'll have to change ~= to dash or em dash or whatever you want to replace it with.
On the bulleted list, is there a paragraph style applied to the listing?