Answer the question
In order to leave comments, you need to log in
What regex pattern would work here?
Greetings. Regex.Replace(links[i],"\\?p=[\\d]{1,}\\?p","?p");
Captures ?p=1?p=2
AND turns it into ?p=2.
Please tell me how to adapt to this situation.
It was
?size=30&lang=ru&first=579&start=539?size=30&lang=ru&first=579&start=501
?size=30&lang=ru&first=579&start=501
?size=30&lang=ru&first=579&start=539
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question