sorry but no one understood me. crazy

i want to use match multi-lines.

alias tr { .fopen -o tr test.txt | .fwrite -n tr * test1 | .fwrite -n tr * test2 | .fwrite -n tr * test3 | .fclose tr }
this is for example. if i have a file contain those lines