GREP on a list


hi,

 

i working on book document files contain words of following nature:

 

ausstossen

hohlmass

süss

weiss

weisse

...

 

each word has 1 or more strings of "ss", , 1 or more of these should replaced "ß". 5 lines above should this:

 

ausstoßen

hohlmaß

süß

weiß

weiße

...

 

in order accomplish find/change using grep, have prepared text file words containing "ss". worked way through list, setting parentheses around parts not contain "ss" string needs changed. list looks this:

 

(aussto)ss(en)

(hohlma)ss

(sü)ss

(wei)ss

(wei)ss(e)

...

 

the idea use this:

 

(aussto)ss(en)|(hohlma)ss|(sü)ss|(wei)ss|(wei)ss(e)

 

and use $1 , $2 in combination ß. how correct "ss" strings become ß , rest of text remains there?

 

cs5



More discussions in InDesign


adobe

Comments