The \w in the regex matches word characters; if you want to match anything, then just use dot (.). Dot matches any character.
In other words:
Code:
if(/<key>Artist<\/key><string>(.*)<\/string>/){
And I'm using ".*" instead of ".+" just in case there's no artist, and there's nothing in between <string> and </string>. In that case your match will just be a null string.
Er, maybe you don't want to match in that situation, in which case go back to ".+".