1 person found this helpfulYou don’t need a script for that. A character style is sufficient.
Your character style is white with highlighted in green
Search "PlusBus" and replaces it with "^ t PlusBus " (add a space before and after " PlusBus « ) with the character style you just created.Here, a screenshot… It’s in french, but I’m sure you’re able to understand!
I think the style is applied to the tab (I can’t see well on your screenshot).
You should have:
and only apply the style to "[space]PLUSBUS[space]"
How it actually comes out in the first is: "Dewsbury[space](DEW)[space]PLUSBUS" - prior to Find and replace been started...
On a conmbined instance of find and repalce with the application of the style the above quirk appears; however if it is done as two seperate instances;
- Find and replace "[space]PlusBus" with "^t[space]PlusBus[space]" - and then
- Another Find and replace of "[space]PlusBus[space]" with the same but applying the character style within the F&R.
Strange - but if this is how it has to be so be it..but it still speeds the job up
1 person found this helpful
Yes, sorry, you can’t do this in just one Find/Replace… because de [tab] is « stylized » too.
I don’t remember… In CS2, did you have the « Nested style » in the paragraph style?
That would seem easier to use.
No it was not..but now it is and a lot tidier to too. And when it comes to the Find and Replace or even a simple [tab] et voila as they say!
Oli - once again thanks!