Modify regex to get version