Fixed the regex, it did not work properly