m{ (?>! \d) # not after a digit \d(5} (?! \d) # not before a digit }x;