db.resolution.updateMany(
{ attach_pdf: { $regex: /.*564\..*/ } },
[{
$set: { attach_pdf: {
$replaceOne: { input: "$attach_pdf", find: "564. Luxacion de muñeca.docx", replacement: "564. Luxacion de muneca.docx" }
}}
}]
)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter