Your question is quite open, so I hope this leads you to the right solution. Get the current time (in seconds), MD5, check it against REGEX, return a match.
Execution example: http://jsfiddle.net/MattLo/3gKrb/
Usage: RandString(/([A-Za-z])/ig); // expected to be a string
RandString(/([A-Za-z])/ig); // expected to be a string
Matt lo
source share