I am trying to extract a number (Must exist, any length) from a string. The string should actually start with the number. I am using this expression:
[[\d]+YMD]
When given 11M as input, the 11 is matched twice as 1 then 1. What am I missing in this RegEx?
I am writing a web application, but for now, I am testing the RegEx online where I am getting the same results.