title: In Vim how do I split a long string into multiple lines by a character?
body: <p>I have this long regex string</p>
  
  <pre><code>(\.#.+|__init__\.py.*|\.wav|\.mp3|\.mo|\.DS_Store|\.\.svn|\.png|\.PNG|\.jpe?g|\.gif|\.elc|\.rbc|\.pyc|\.swp|\.psd|\.ai|\.pdf|\.mov|\.aep|\.dmg|\.zip|\.gz|\.so|\.shx|\.shp|\.wmf|\.JPG|\.jpg.mno|\.bmp|\.ico|\.exe|\.avi|\.docx?|\.xlsx?|\.pptx?|\.upart)$
  </code></pre>
  
  <p>and I would like to split it by <code>|</code> and have each component on a new line.</p>
  
  <p>So something like this in the final form</p>
  
  <pre><code>(\.#.+|
  __init__\.py.*|
  \.wav|
  \.mp3|
  \.mo|
  \.DS_Store|
  ... etc
  </code></pre>
  
  <p>I know I can probably do this as a macro, but I figured someone smarter can find a faster/easier way.</p>
  
  <p>Any tips and helps are appreciated. Thanks!</p>