#!/bin/bash
echo "ObjectId(5e257e424ed10b0015e3e780),'qwe',ObjectId(5e257e424ed10b0015e3e780),()" | \
sed 's/ObjectId(\([[:alnum:]]*\))/\1/g'
IyEvYmluL2Jhc2gKCmVjaG8gIk9iamVjdElkKDVlMjU3ZTQyNGVkMTBiMDAxNWUzZTc4MCksJ3F3ZScsT2JqZWN0SWQoNWUyNTdlNDI0ZWQxMGIwMDE1ZTNlNzgwKSwoKSIgfCBcCiAgc2VkICdzL09iamVjdElkKFwoW1s6YWxudW06XV0qXCkpL1wxL2cn