I see these links:
https://docs.mongodb.com/php-library/current/tutorial/crud/#regular-expressions https://docs.mongodb.com/manual/reference/operator/query/regex/#perform-a-like-match
On mongo terminal regex "/giov/i" Found:
- Mariogiovanni
- Giovanni
On php with
$cursor = $collection->find([
'description' => new MongoDB\BSON\Regex(' /giov/', 'i'),
]);
nothing coming back. Why? I try some solution find on this community but nothing