I have following sample string
test1/test2/test3:test4/test5/test6IAmInterestedIn:test7/test8
I am only interested in test6IAmInterestedIn
You can try this DEMO
(?:[^\/]*\/){4}([A-Za-z]{3}[0-9]{3})
where
(?:[^\/]*\/){4}
([A-Za-z]{3}[0-9]{3})