I m working with strings in java script, for e.g if i have the below string:
str = "miniprofile-container http://www.linkedin.com/miniprofile?vieweeID=8573&context=anet&view"
i want the ID number "8573" from this type of strings. They are of different length but have the same struct as the above. So kindly help me in achieving it.
I may use the strcpy function, but it will not be a generic approach