$ 0 0 In PHP, you could use following code: $collection->find(array('name'=> array('$regex' => 'm'));