I've almost got this regex working but am having trouble with the leading forward slash - can anyone see where I'm going wrong with this? I just want to extract the first string "projects
" from this example
/projects/personal/29/56
see also here -> http://regexr.com?300av
See Question&Answers more detail:os