Out of curiosity (and possibly as a clue towards solving this) where do those IDs come from...? I doesn't look like something you would've typed in by hand, were they generated somehow?
If I understand Fizzer's RegEx correctly, it will turn all your territory names into "Territory_1", which (given the example in your last post) unfortunately won't help you. (But, just to be sure, feel free to try, I could be wrong!)
If Fizzer's suggestion indeed doesn't work, let's see what we can do to solve it. From the [WL Wiki](http://wiki.warlight.net/index.php/Creating_the_SVG
|> Inkscape will tell you if you try to re-use the same number more than once (it will say "id exists!"), so you don't need to pay super close attention to where you left off in the numbering. Also, you don't need to use every number - it's okay to jump around (for example, skipping from Territory_11 to Territory_19.) This is also good if you decide to delete one; you don't need to go back and fill in the gap.
Now, on the one hand that's good news; territory numbers don't have to be consecutive. On the other hand (and I obviously don't know for sure, maybe Fizzer can clarify), I wouldn't be surprised at all if WL doesn't just look for something which "is a number", but also uses the actual values of those numbers internally. If that is indeed the case, *huge* numbers could become a problem. If not, you can simply strip out all the dashes and it should work.
Disclaimer: I'm not a RegEx wizard and I'm not familiar with Notepad++'s RegEx dialect, but I expect the following will remove the first dash from a number:
Find what: "Territory_(\d+)-"
Replace with: "Territory_\1"
(I think Fizzer's expression was supposed to be entered *including* the quotation marks, but mine is supposed to be entered *excluding* the quotation marks; they're just there to show the beginning and end of what you should enter.)
Just run that multiple times, until it complains it can't find anything to replace. Then, try to open it in Inkscape and hope for the best. It is *possible* (but, until I know where those weird numbers came from, I cannot tell how *likely*) territory names which used to be distinct will become the same. For instance, both of the following:
which will still result in a broken SVG file... And, like I said above, even if Inkscape can open it (if the SVG file is technically valid), the ridiculously huge numbers can still break as soon as you upload the file to WL. (So, *don't* delete your original file just yet; I'd recommend keeping it at least until the map goes public, just to be perfectly sure you don't delete it too early.)