dans la mesure du possible
Meanings
Adverb
1. as much as possible, insofar as possible, if at all possible, if possible