Skip to content

Instantly share code, notes, and snippets.

@mikl
Created August 10, 2010 10:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikl/517081 to your computer and use it in GitHub Desktop.
Save mikl/517081 to your computer and use it in GitHub Desktop.
%s/\vtlf. (\d+) (\d+),/\1\2,/gc
%s/, e-mail /,/gc
%s/\v, (\d\d\d\d) ([A-ZÆØÅÉ])/,\1,\2/gc
%s/\v^([a-zA-Z0-9.'æøåÆØÅéü' &\/\(\)-]+) (\d+),/\1, \2,/gc
%s/, \+/,/gc
%s/,/;/g
%s/\v^([^;]+);([^;]+) (\d\d\d\d\d\d)/\1, \2;\3/gc
%s/\v^([^;]+;[^;]+;[^;]+);([^;]+;\d\d\d\d)/\1, \2/g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment