Use regular expression for key demodulization