How to validate part of a URL strictly contain alphanumeric characters?
Hello SoloLearners, I'm working on SoloLearn code bit link converter. https://code.sololearn.com/WKyKXwCg9i1I/?ref=app The idea came when I started to notice that SoloLearn app and web users now have a different scheme of code bit links. App users cannot directly open a code bit whose link was shared from SoloLearn web, vice versa ~ possibly. Now on to the question. I noticed that code bit link unique ID is 12 characters long, contains mostly alphanumeric, no space nor special character (or I just haven't seen any). I need help with the validation of the URL (code bit link), mainly to check and require the unique ID to contain alphanumeric. At the moment, the code accepts URL that contains only numbers, or only characters as its unique ID. That's not the desired behaviour, however. Thank you for any guides, insights and suggestions, in advance 🙏