In depth
限り has two main uses. As a condition, X限り means "as long as X stays true", and the second half holds only while that state continues. 〜ない限り means "unless": something won't happen unless X happens. As a limit, it marks how far something reaches: できる限り (as much as possible), 見渡す限り (as far as the eye can see), 力の限り (with all one's strength). It is neutral to slightly formal and common in both speech and writing.
私の知っている限り、外国人が使いやすい日本語の辞書はないんですよ。
watashi no shitte iru kagiri, gaikokunin ga tsukaiyasui nihongo no jisho wa nai n desu yo.
As far as I know, there isn't a Japanese dictionary that's easy for foreigners to use.
明日までにこのレポートを翻訳するのは結構大変ですが、出来る限り頑張ってみます。
ashita made ni kono repooto o honyaku suru no wa kekkou taihen desu ga, dekiru kagiri ganbatte mimasu.
It's quite challenging to translate this report by tomorrow, but I'll do my best as much as I can.
この会社にいる限り、自由な時間はあまりないだろう。
kono kaisha ni iru kagiri, jiyuu na jikan wa amari nai darou.
As long as I stay at this company, I probably won't have much free time.
雨が降らない限り、試合は予定どおり行われます。
ame ga furanai kagiri, shiai wa yotei doori okonawaremasu.
Unless it rains, the match will be held as planned.
学生である限り、校則は守らなければならない。
gakuseide aru kagiri, kousoku wa mamoranakereba naranai.
As long as you're a student, you have to follow the school rules.
見渡す限り、一面の雪だった。
miwatasu kagiri, ichimen no yuki datta.
As far as the eye could see, there was nothing but snow.
選手たちは力の限り戦った。
senshutachi wa chikara no kagiri tatakatta.
The players fought with all their strength.
体が動く限り、この畑で野菜を作り続けたい。
karada ga ugoku kagiri, kono hatake de yasai o tsukuri tsuzuketai.
As long as my body keeps working, I want to keep growing vegetables in this field.
予約がない限り、店内には入れません。
yoyaku ga nai kagiri, tennai ni wa iremasen.
Unless you have a reservation, you can't enter the restaurant.
時間の許す限り、皆さんの質問にお答えします。
jikan no yurusu kagiri, mina-san no shitsumon ni okotae shimasu.
I'll answer your questions for as long as time allows.