Created
July 16, 2022 22:11
-
-
Save paulohfev/21d999e09ad3d2bb17f8e5f21a10d5ee to your computer and use it in GitHub Desktop.
File type RegExs
This file contains 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 VIDEO_FILE_REGEX = /video\/\w+/gm; | |
const AUDIO_FILE_REGEX = /audio\/\w+/gm; | |
const IMAGE_FILE_REGEX = /image\/\w+/gm; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment