I need to change the following text
<item id="108-109" name="flowers"/>
To this
<item fromid="108" toid="109" name="flowers"/>
On a file with multiple ocurrences of this 'id="num-num"' pattern. Name and the tag itselt doesn't matter. I've tried lots of different combinations of regex patterns and I can't find one which even finds something. This:
id="([0-9])-([0-9])"
Which in my mind should work is not working.
I'm using Notepad++ regex finder and testing with RegexPal, but after a lot of tries I'm out of ideas.