title: Using `Regexp` - how to make list from string array?
body: <p>I have a array which i am getting from back-end server. but i would like to convert that array in to a <code>list</code> using 'ul'. How to clean up the array using <code>regexp</code> and convert them as a single clear array?</p>
  
  <p>here is the data what i am getting:</p>
  
  <pre><code>[
    "1. Submittals in progress\n2. Structural works in progress in S2 &amp; S3\n3. Structural works in progress in N4.\n4. Childrens Mall pedestal and steel fabrication.",
    "",
    "1. Procurement of activities in progress.\n2. External works for mist pool in progress\n3. MEP 1st &amp; 2nd fix in progress\n4. Block work and grade slab in progress "
  ]
  </code></pre>
  
  <p>the result should be: ( ther is a mark as <code>\n</code> for a break. as well <code>empty</code> string in between 2 arrays.</p>
  
  <pre><code>var array = [
  "Procurement of activities in progress.",
  "Structural works in progress in S2 &amp; S3",
  "Structural works in progress in N4.",
  "Childrens Mall pedestal and steel fabrication."
  "Procurement of activities in progress."
  "External works for mist pool in progress",
  "MEP 1st &amp; 2nd fix in progress",
  "Block work and grade slab in progress"
  
  ]
  </code></pre>