Regex to get article ID from url
- by Blankman
My url looks like:
www.example.com/a-292-some-text-here // 292
www.example.com/a-2-asdfss // 2
www.example.com/a-44-333 // 44
I need a regex to get the 292 from the url.
The ID will always be an integer.
i am using C#.