Enclose 4 digit numbers in parentheses?

Advanced Renamer forum
#1 : 15/05-23 21:19
Scott
Scott
Posts: 1
I want to add parentheses to years. Is this possible? They are not all in the same place in the names.


15/05-23 21:19
#2 : 16/05-23 01:21
David Lee
David Lee
Posts: 1125
To enclose any 4-digit number in parenthesis...

Replace: (^|[^\d])(\d{4})($|[^\d])
with: (\2)
Use regular expressionS




16/05-23 01:21