regex is a bitch BUT IT WORKS NOW