I suppose that an ISBN is prefixed by “ISBN” – how else would one know that it’s the ISBN and not a phone number, for example? So, looking for the regular expression
ISBN[- ]((?978[- ]?)[0-9- ]+)[^0-9-]
might work. Searching the net for “ISBN regular expression” turns up many variants.
Indeed.