Extract an ISBN with regex

后端 未结 7 1878
终归单人心
终归单人心 2021-01-14 01:01

I have an extremely long string that I want to parse for a numeric value that occurs after the substring \"ISBN\". However, this grouping of 13 digits can be arranged differ

7条回答
  •  南笙
    南笙 (楼主)
    2021-01-14 01:16

    Try stripping the dashes out, and regex the new string

提交回复
热议问题