やってみたが

tried, but

→ 遣る
phrase Rare #26,277
tried, but A past form of やってみる (to try doing something) followed by が (but). It introduces an unsuccessful attempt or contrast.
JA: 何度もやってみたが、うまくいかなかった。
EN: I tried many times, but it didn't work.

私はいろいろやってみたが結局失敗した

I tried all sorts of things, but in the end I failed.

やってみたが彼と連絡をとることができなかった

I tried, but I couldn't get in touch with him.

もう一度それをやってみたができなかった

I tried it one more time, but I couldn't do it.

彼は再びやってみたが失敗しただけだった

He tried again, but all he did was fail.