Am trying to insert a regex epxression as text in mongodb but it keeps getting converted to wrong formats
db.getCollection(\'regex\').insertMany([ { name:&quo