Created
October 3, 2022 20:22
-
-
Save codewithleader/45c793799ecb06d066e9966561cf3337 to your computer and use it in GitHub Desktop.
MongoID-RegExp: Expresion regular para saber si es un ID valido de Mongo.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const checkMongoIDRegExp = new RegExp("^[0-9a-fA-F]{24}$"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment