Meaning of “but” - Learner’s Dictionary

but

adverb uk us strong /bʌt/ weak /bət/ formal

only:

We can but try.

(Definition of “but adverb” from the Cambridge Learner’s Dictionary © Cambridge University Press)