I have a string as:
word : \'A-Scan Ultrasonic\'
How to match this with :
\'A Scan Ultrasonic\'
I have tri
It's actually no mongo thing, you should use proper regex. Try with this:
{ name: { $regex: /.*A(-|\s)Scan(-|\s)Ultrasonic.*/}}