mcwir
Contributor

its like you need to find this pattern : "^[\-]?"