Added basic but not fully correct regex for grabbing input