So i’m coding a custom forum for a website that I’m making. I have a link that I want to take the user to the last post on a thread page. The uri string looks something like this: forums/The-Board-The-Thread-Is-In/The-Title-Of-The-Thread/123/123#last
Basically #last will take you to an anchor located at the last post of the thread. What I need is a regex that will accept only characters 0-9(any length) plus “#last” only at the end. Any ideas?