how would I match get a word only if it is between 2 numbers using regex
eg the input is: 5testword5,5testword5testword43 it matches testword;(so I can replace testword with something else)
but 5testword shouldn't match
and neither should testword5 match;
how would I do that?
(edited it to make it more understandable and added more examples)