After struggling for hours, I decided to seek assistance from the stackoverflow community. While I understand that regex could solve my problem, I lack the necessary expertise and time to learn before my deadline.
The challenge lies in extracting the 6-digit code following the &PG=. Although I managed to piece together a regex in Chrome's console to capture the entire &PG=XXXXXX
string, the browser crashed, and I lost the expression. My goal is to retrieve 'SPTRF3,SPTRF1,SPTRF4,SPTHP4' from the given array, either in a new array or as a string.
Any assistance offered would be immensely appreciated!