Add reg ex portion
Add a test case