Maybe you simply want to avoid (opening) angle brackets to just match the tag values?
file:([^<>]*?)\.xml
Update Made the dot (.) in the regex more specific, thanks to Laurent_R.
In reply to Re: Regex match: Ignoring first occurences
by Corion
in thread Regex match: Ignoring first occurences
by cryion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |