Hello I have a question about RegEx. I am currently trying to find a way to grab a substring of any letter followed by any two numbers such as: d09.
I came up with the R
Your regex is anchored, as such it will never match unless the whole input matches your regex. Use [a-z][0-9]{2}.
[a-z][0-9]{2}
Don't use .matches() but .find(): .matches() is shamefully misnamed and tries to match the whole input.
.matches()
.find()