Hi There,
Hi I would like to make several actions
1)The first action matches first 2 lines and put every thing on 1 linefrom:
ETHNO POP - ETHNIC POP,
MID ,arabazing, lanscape, walk , sharing,
MEDIUM,arabisant, paysage, partage, marche,
to:
ETHNO POP - ETHNIC POP,MID ,arabazing, lanscape, walk , sharing,
Regular expression: (.*)\n
Replace matches with: $1
this did the job
2)The second action matches words and put a , behind every wordfrom:
ETHNO POP - ETHNIC POP,MID ,arabazing, lanscape, walk , sharing,
to:
ETHNO, POP, - ETHNIC, POP,,MID, ,arabazing,, lanscape,, walk ,, sharing,,
3) This action could search for ,, and , , and replace them with ,
from:
ETHNO, POP, - ETHNIC, POP,,MID, ,arabazing,, lanscape,, walk ,, sharing,,
to:
ETHNO, POP, - ETHNIC, POP,MID, arabazing, lanscape, walk , sharing,
4) This action removes words completely written in capitals
from:
ETHNO, POP, - ETHNIC, POP,,MID,arabazing, lanscape, walk , sharing,
to:
arabazing, lanscape, walk , sharing,
[A-Z][A-Z]+
5) This action removes unnecessary spaces and replaces them with 1 space
from:
ETHNO, POP, - ETHNIC, POP,,MID,arabazing, lanscape, walk , sharing,
to
arabazing, lanscape, walk , sharing,
Thanks to /t/967/1
Regular expression: ^\s+Replace matches with:
Regular expression: \s+$
Replace matches with:
Regular expression: \s{2,}
Replace matches with: " "
This is a lot and that's the reason I seperated it in 5 different actions.
Already a big thank you for reading
Guy Forssman