Modified regex to accept up and down and support missing the questionmark