I'd like to know whether there is a way to match an integer and its sucessor:
I'd like to match: "1 Victor 2 Marconi"
But not: "1 Victor 3 Marconi"
Is there a way to backreference the first number and increment it like: (\d) [[:alpha:]]* \1 +1 [[:alpha:]]* (INVALID)
I don't know if regexp is the right tool. If not, what would it be ?