Fast way to filter through data

I am looking for a good way to look through a data set and remove all values smaller then for example (50) and bigger then (100), all methods i have tried do not work well when dealing with very large arrays, any suggestions?