Please read this article to understand about regex
- Regex101.com : Include tool test, sample regex and some , you can login, create regex and save your Regex, public and share to your friend.
- Regexr.com : Amazing UI
/^((01[2689]|088|09)|(([\+]{0,1}84)(1[2689]|88|9)))[0-9]{8}$/
/^\+?\d{1,3}?[- .]?\(?(?:\d{2,3})\)?[- .]?\d\d\d[- .]?\d\d\d\d$/
/https?:\/\/(?:youtu\.be\/|(?:[a-z]{2,3}\.)?youtube\.com\/watch(?:\?|#\!)v=)([\w-]{11}).*/gi
/(?:http:\/\/)?(?:www\.)?facebook\.com\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/
/[A-Z0-9._%+-]+@[A-Z0-9-]+.+.[A-Z]{2,4}/
/@([A-Za-z0-9_]{1,15})/
To be continue ...