For example, if I have
0]+4
How do I read and eat just the zero?
EDIT: So it looks like I've been really unclear. Let me edit things.
All I want to do is to get the first integer that appears in a string of digits and characters. The first component of the text will ALWAYS be an integer. I can have any combination of this. For example, I can have any of these:
43SOMETEXT424
3blahblahblah64blahblahblah
5MoreText
I would return 43, 3, and 5 from reading this text, respectively.