I hard coded the embed code using the content rebuilder to check the player and it works fine. SmugMug passes a 21 char string consisting of letters and numbers to identify a specific video that their server passes to the player. I need a regex that passes 21 chars with a-z, A-Z and 0-9 allowed in each position. This video ID string is what the user inputs. That string needs to be available in a variable for symbolic substitution into the embed code. Here's an example of the changeable portion of their embed code:

"s=ZT0xJmk9ODY1OTU0NjQyJms9WTk5ZU4mYT05NzcwNTk0X1FrckZaJnU9TXVuaWFj"

The 21 bold chars are the changeable portion and what the user supplies from SmugMug's embed code. I thus need to build the complete string from user input. Can someone here please give me the regex and syntax for making this available in a variable that I can use to complete the full string. I'm assuming it will look something like:

"s=ZT0xJmk9OD$uservarmYT05NzcwNTk0X1FrckZaJnU9TXVuaWFj"

Many thanks.


Best - Scott