テキストであれば
tekisutodeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of テキスト

1. If it's text; When it's text

Ba Conditional