Regex pattern need to find below url values in bold color


  • 7
    I'm voting to close this question as off-topic because it is asking for code to be written without any explanation of exactly what is wanted. It would not be a good fit for Stack Overfow or Programmers.
    – AdrianHHH
    Sep 15 '17 at 7:57

This regex captures all variable parameters in your url. To get the last one, simply iterate through the results.


Demo here

  • Your example does not capture last value (145), you should also use capturing group top capture anything.
    – Alexey R.
    Sep 15 '17 at 15:44

Not the answer you're looking for? Browse other questions tagged or ask your own question.