I want to make a new string by replacing digits with %d
for example:
Name.replace( "_u1_v1" , "_u%d_v%d")
...but the number 1
can be any digit for example "_u2_v2.tx"
Can I give replace()
a wildcard to expect any digit? Like "_u"%d"_v"%d".tx"
Or do I have to make a regular expression?