i have a sample mongodb like this:
{
        "_id" : ObjectId("559e448dfb9fc95e5d00008c"),
        "title" : "Maps ",
        "link" : "https://www.youtube.com/embed/NmugSMBh_iI",
        "img" : "https://i.ytimg.com/vi/NmugSMBh_iI/default.jpg",
        "time" : "3:28",
        "des" : "Maroon 5 - Maps (Explicit)\r\n",
        "cat" : [
                "maroon5"
        ],
        "id" : 179,
        "date" : "2015-07-08T16:49:11+07:00"
}
{
        "_id" : ObjectId("559e451afb9fc95e5d00008d"),
        "title" : "Animals",
        "link" : "https://www.youtube.com/embed/qpgTC9MDx1o",
        "img" : "https://i.ytimg.com/vi/qpgTC9MDx1o/default.jpg",
        "time" : "4:40",
        "des" : "Maroon 5 - Animals\r\n",
        "cat" : [
                "maroon5"
        ],
        "id" : 180,
        "date" : "2015-07-08T16:49:11+07:00"
}
Now i want to replace this string "embed/" to "watch?v=" in each "link" field, like this:
"link" : "https://www.youtube.com/watch?v=/NmugSMBh_iI"
How can i do it ?
 
     
    