I want to extract a number of exactly 5 digits from a string.
If I try
\d{5}
this works for "12345" or "a12345a", but it also matches "12345" in the string "123456" which I don't want.
I can try
\d{5}\D
but then the string "12345a" will be matched in `"a12345a". Is there away to get just the number?
12345d...^Dmeans "start of string, followed by the letterD".