/value=["']([^'"]+)/ puts "details.jsp" in the first capture group.
Edit:
In response to ircmaxell's comment, if you really need it, the following expression is more flexible:
/value=(['"])(.+)\1/
It will correspond to things like <s:include value="something['else']"> , but just note that the value will be placed in the second capture group.
But, as mentioned earlier, a regular expression is not what you want to use for XML parsing (unless this is a very simple case), so don't invest too much time in complex regular expressions when you should use a parser.
source share