I have this as a string
http://steamcommunity.com/id/user/
And when I use this regex pattern : [^\/]+\/$ I get this result is
user/
I'm trying to negate the last / so i can get
user
How can I accomplish this?
I have this as a string
http://steamcommunity.com/id/user/
And when I use this regex pattern : [^\/]+\/$ I get this result is
user/
I'm trying to negate the last / so i can get
user
How can I accomplish this?