Regex Exec gagal dua kali

reg.lastIndex = 0;
florinrelea