Regular expression in mongoDB
Content (please ensure you mask any confidential information):
We would like to have a regular expression in mongoDB.
We now have:
But we would like to concatenate them a prefix and a postfix to the regular expression.
For example if ****_ShelfType has value "prova", we would like to extract from the table only the elements that have [PROVA] and not [PROVA_1].
Is there a way to do it?
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):