Here is my original pattern that works for the first and consecutive after I get my first 31 micro level:You need 22000000 experience to level Mage to 26 and have 20247518 experience. (92%)
You need 13000000 experience to micro level Warrior to 31:1 and have 20247518 experience. (100%)
That will match what I need it to match, but won't match the 31:1. I tried to use this:You need (\d+) experience to level (\w+) to (\d+) and have (\d+) experience.
But that won't match the 31:1 either. My bigger problem is, once I get that first micro, the :1 goes away. (that's why I thought doing the (:1)? would work, but it doesn't.You need (\d+) experience to level (\w+) to (\d+(:1)?) and have (\d+) experience.
Perhaps somebody a bit more proficient with regex could point out my error and help me better my Regex skills?