Regular expression to find any number in a string

Viewed 39787

What's the notation for any number in re? Like if I'm searching a string for any number, positive or negative. I've been using \d+ but that can't find 0 or -1

5 Answers
Related