Having spent hours on this I almost give up. I guess it is not a big problem for everyone, but I am kind of new on scripting.
My problem:
I have a Indesign table (500 + pages) and need to apply character styles to all the content. To make things easier I have inserted a special character eg. "€", "‰" before every pargraph.
What I need to do:
1. A search for every paragraph beginning with "€" and applying paragraph style named "APPLE"
2. A search for every paragraph beginning with "‰" and applying paragraph style named "BANANA"
3. Deleting the characters "€" and "‰".
Any suggestions?