Mongo db find for "starts width"

Hi all
I would like to make a MONGO DB query to select all the elements of my database including a text item “starts with” …
I found “equal”, “greater than”, “less than” … but nothing for “starts with”.

Can anyone tell me how to make this request.
Thank you
YC

Check regex use with mongodb

2 Likes

Thank you very much rjdavid for this quick response.
regex was the right solution.
everything works fine.