I want to write a regex which extract the content that is between two tags in a string but not the tags. IE I have the following
the best way is to use Assertions, for your case, the regex would be:
(?<=\).*?(?=\<\/title\>)
for more details have a look here