Skip to content

Instantly share code, notes, and snippets.

@froop
Created July 6, 2011 02:44
Show Gist options
  • Select an option

  • Save froop/1066431 to your computer and use it in GitHub Desktop.

Select an option

Save froop/1066431 to your computer and use it in GitHub Desktop.
Windowsのdirコマンドの結果をタブ区切りに置換する正規表現(サクラエディタ用)
置換前:(\d{4}/\d{2}/\d{2}) (\d{2}:\d{2}) +(<DIR>|[\d,]+) +([^ ]+)$
置換後:\4\t\1 \2\t\3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment