I'm trying to create a regular expression to match a string like <tag>something</tag> and I want the result to return only something without the tags.
i tried using:
string.match(/(?<=<tag>).*?(?=<\/tag>)/g);
but its giving an error:
SyntaxError:Invalid regular expression: /(?<=<tag>).*?(?=<\/tag>)/: Invalid group;
why is it not working?

