actual working regex maybe

I don't actually fully understand regexps..