SyntaxFix
Write A Post
Hire A Developer
Questions
In PHP, you could use following code:
$collection->find(array('name'=> array('$regex' => 'm'));