If I interpret your regex correctly, it looks like you're after the directory name in the first group and the file path in the second group?
<IMG.*?SRC="/_image/(\d+?)/([^"]*?)".*?/>
Don't forget to use the regex options CaseInsensitive which wraps the regex with (?i:[regex])
In the second group, you're parsing everything that is not the closing ", right now you're looking for all characters, in fact, you don't need to search all characters, you want everything that isn't the closing quote on the string.
Also, don't forget to close your SRC string which you're missing, and that the SRC attribute may not be the last in the tag - for instance border, width, height etc. Also, there may be any number of spaces after the closure of the last attribute and the end of tag />
From this regex, your first match group will hold the subdirectory name and the second match group will hold everything after the / of the subdirectory - including nested subdirectories. If you've got nested subdirectories, you may need to expand this slightly:
<IMG.*?SRC="/_image/((\d+?)/)+?([^"]*?)".*?/>
In this case, each of the leading groups will hold each of the nested directory names, and the last group will hold the file name.