I have found many answers that have pointed me on the right track for what I want, like this.
However, if I had a string like "this attachment will be 22 in. x 15 in. long" I would want to grab "22" (the first int value in the string). Also, I won't know how large (# of characters) the int value will be so I'll need to find the WHOLE first int value until the next special character/space in the string.
Any idea how I can go about doing this?