notepad++ - how to use regex to add leading zero -
this question has answer here:
- using regex add leading zeroes 10 answers
question - shortest form of regex add leading 0 found pattern?
i want add leading 0 number matches regex pattern
[(][0-9][0-9][0-9][0-9][-][0-9][0-9][0-9][0-9][-][0-9][0-9][)]
i using notepad++.
in notepad++ regex replace, use $n represent nth capture group replacement:
search for: [(]([0-9][0-9][0-9][0-9][-][0-9][0-9][0-9][0-9][-][0-9][0-9])[)] replace with: (0$1)
Comments
Post a Comment