Began implementing regex