/%(.)/g, '$1$1':
/ , .% %.. , %. % m,% d /% Y.(.), parens, , ./g ( ).?1 , , (.).?1?1 .
, %. ., .
. , , . , , . (Dyslexia regex - .) , 47 , , , , , , , , .
, :
var x = '%m/%d/%y';
x = x.replace('%', 'm');
x = x.replace('%', 'd');
x = x.replace('%', 'y');
alert(x);
, replace .
, . . 20 , 20 , 15 . , , , , , ... , . . . , . , , , , .