A RegEx might not be the appropriate tool in this situation. It can help you find the string, but it is probably easier to parse it into a numeric format and check that way. If you do need to use a RegEx to find the string, try the pattern
-?\d+
and use the first match.
For a tutorial, try take a look at
http://www.regular-expressions.info/tutorial.html