```
[0-9]* (-)?[0-9]* q

```

This regex does not seem to work in vim for below text

> 
> 34778965 -1 q some text here
> 
> 
> 

[SOLVED]

Thank you! I realize it all has to be escaped. What felt inconsistent is some needed to be escaped like \? but some not, like \* or $. vimregex.com helped.