title: Bash Script - split string using regex delimiter
body: <p>I want to split string something like 'substring1 substring2 ONCE[0,10s] substring3'. The expected result should be (with delimiter 'ONCE[0,10s]'):</p>
  
  <pre><code>substring1 substring2
  substring3
  </code></pre>
  
  <p>The problem is that the number in delimiter is variable such as 'ONCE[0,1s]' or 'ONCE[0,3m]' or 'ONCE[0,10d]' and so on.</p>
  
  <p>How can I do this in bash script ? Any idea ?</p>
  
  <p>Thank you</p>