Done the framework, but the regrex has bug, plz fix it on Win7.