Skip to content

Instantly share code, notes, and snippets.

@nikuyoshi
Created July 8, 2015 10:35
Show Gist options
  • Save nikuyoshi/bf31dc46544e9645fc23 to your computer and use it in GitHub Desktop.
Save nikuyoshi/bf31dc46544e9645fc23 to your computer and use it in GitHub Desktop.
Vimの正規表現を使用してグループ毎に置換する方法 ref: http://qiita.com/nikuyoshi/items/3e053550ebe7ee732e71
:%s/\(.*\)=\(.*\)/hashMap.put("\1", "\2");/g
status=ステータス
dataList=データ一覧
deptid=ユーザの組織ID
userid=ユーザID
updateDate=更新日時
hashMap.put("status", "ステータス");
hashMap.put("dataList", "データ一覧");
hashMap.put("deptid", "ユーザの組織ID");
hashMap.put("userid", "ユーザID");
hashMap.put("updateDate", "更新日時");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment