I get strings like:
"some text here /word/ asdhd"
"some other likehere/word1/hahas"
"some other likehere/dhsad huasdhuas huadssad/h ah as/"
What I need is to get the string between the two slashes, ‘word’, ‘word1’, ‘dhsad huasdhuas huadssad’ and ‘h ah as’.
What is a regex for that?
Edit in case you have more than one of those words and want to iterate through them.
*Edit again since question was changed.*
Explanation :