I have a long string url, and in it somewhere is “http://www.webcitation.org/65aOmhrdM”. I need to write a regex to find “65aOmhrdM” (the pattern is always num,num,lowercase,uppercase,lowercase,lowercase,lowercase,lowercase,uppercase).
I’m looking to say:
var matches = url.match(/regex here/);
Thanks.
Here is a regex for the pattern you gave:
If you want to pull it from that url you could do something like this: