string contains substring mongodb regex code example
Example: mongo shell query for email domain regex
{ $regexFind: { input: <expression> , regex: <expression>, options: <expression> } }
{ $regexFind: { input: <expression> , regex: <expression>, options: <expression> } }