character in string between other strings : how to find character or a word in string between other strings? for example I want to find
"<"
character between <tag> and </tag> tags in string below:

"<tag>some text some text < text</tag>"
