ver.8

-change to Regex.match
-delete if..then
-add regular expression {1,2}
ver.9

-extend method
-simplize method