Based on your comments to other responses, you actually only want to match on the numbers if they are fit the pattern name=\"id\" value=\"###\"
and thus there are four possibilities, depending on how precise you want your matches to be. Also, based on your comments, I'm using javascript as the language of implementation.
Also, note that a previous answer incorrectly escaped the slashes around the id and value strings.
FWIW, I have tested each of the options below:
Option 1: Match any number
//build the pattern
var pattern = /name=\"id\" value=\"([0-9]+)\"/g
//run the regex, after which:
// the full match will be in array_matches[0]
// the matching number will be in array_matches[1]
var array_matches = pattern.exec(strVal);
Option 2: Match any 3-digit number
//build the pattern
var pattern = /name=\"id\" value=\"([0-9]{3})\"/g
//run the regex, after which:
// the full match will be in array_matches[0]
// the matching number will be in array_matches[1]
var array_matches = pattern.exec(strVal);
Option 3: Match specific 3-digit number ranges
//build the pattern; modify to fit your ranges
// This example matches 110-159 and 210-259
var pattern = /name=\"id\" value=\"([1-2][1-5][0-9])\"/g
//run the regex, after which:
// the full match will be in array_matches[0]
// the matching number will be in array_matches[1]
var array_matches = pattern.exec(strVal);
Option 4: Match specific 3-digit numbers
//build the pattern; modify to fit your numbers
// This example matches 217, 218, 219 and 253
var pattern = /name=\"id\" value=\"(217|218|219|253)\"/g
//run the regex, after which:
// the full match will be in array_matches[0]
// the matching number will be in array_matches[1]
var array_matches = pattern.exec(strVal);