I am not too good with Regular Expressions in Javascript. Does anyone know an efficient way to capture the last portion of a URL???
I have the following URL:
http://localhost:3000/developers/568d3c3c82eea6e6fb47c236
And all I need to do is capture the developer ID (which is 568d3c3c82eea6e6fb47c236). This route will always be the same (with just the ID's changing).
Any help would be much appreciated