It would really make my work easier if someone could help me with writing script in python or perl in which from given file it retreives all sentences like:
[LANG::...]
- … means anything
for ecxample:
[LANG::Sample text with digits 0123]
and writes it to the fileeach in single line.
Thanks very much for help
EDIT:
Thanks for help, and now something more advanced.
if it finds something like [:ANG:: …] please write only … without brackets ang LANG:: tag.
Thanks guys You are awesome 🙂
outputs:
Second part of the question: if it finds something like [:ANG:: …] please write only … without brackets and LANG:: tag.
Change the last part to:
Fix that substring part
match[7:-1]to your needs.