Working regex

Working regex 99.9% accurate