notepad++ - Add character to date format using regex -


how add e.g. - or . date format 2006 05 12 using regex in notepad++

in notepad++ press ctrl+h

find what: (\d{4})\s(\d{2})\s(\d{2})

replace with: \1-\2-\3.

(\d{4})

  • \d means digit
  • {4} 4 times
  • () able refer group in brackets number - \1

Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -