Corrected the Regex (added global-flag)