Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
find multiple occurrences of a string within big string
#3
Thank you I am almost there so if I am searching for the text"videoId":

in a web page which contains the text

"etag": "\"Bdx4f4ps3xCOOo1WZ91nTLkRZ_c/Q5dSG-as1cEbMUWsXLanq54V6Ko\"",
"id": {
"kind": "youtube#video",
"videoId": "CzwmGvqfMG5"
},
"snippet": {
"publishedAt": "2019-05-30T04:03:26.000Z",
"videoId": "xjrlXK1L0G2"
"kind": "#searchResult",
"etag": "\"Bdx4f4ps3xCOOo1WZ91nTLkRZ_c/6yK-xf1Qr1I77nHKPhQel7F0JPM\"",



To return the videoID which are (2 of them)

CzwmGvqfMG5
xjrlXK1L0G2


what should the code be then please?

Sorry I really struggle with regular expressions!


Messages In This Thread
RE: find multiple occurrences of a string within big string - by mancunian - 06-12-2019, 02:47 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)