regex - How to replace word in notepad++ that begins with certain word plus number of bytes -
i want replace number format of yyyymmddhhmmss
"".
for example: 20130618100147 text here
i tried find 2013(.*)$
in notepad++ (regular exp, wraparound) every word next 2013 deleted in same line. how can able replace word starting 2013
plus 10 bytes?
2013\d{10}
match 2013 , 10 digits after it.
upd:
here's improved version of regex:
2013[0,1][0-9][0-3][0-9][0-2][0-9][0-5][0-9][0-5][0-9]
that still match, example, 20130601000000
because it's valid timestamp.
Comments
Post a Comment