Hello friends i have website url ="https://www.example/en_uk/cgid=ladywears&middle=20&end=100" I need to extract the value of parameter "middle" and "end" which can be any numeric value from 10 to 10000. Have 1 condition which need to fulfilled -- Url will be passed dynamically and the program should only run if it has exact "middle" and "end" word matching in it .Need help in writing it in JavaScript .
Thanks in advance