title: Cut and Paste string values to next input after tab character using JavaScript/jQuery
body: <p>I was wondering how can I achieve, using javascript/jquery, splitting a string as listed below - </p>
  
  <pre><code>abc543567   abc543678   abc223416   abc634567
  </code></pre>
  
  <p>into four inputs, so that each group can be moved into a separate input. Basically, when I copy this string into the first input, the first group can remain in the first input, the second to be moved in the second input, and so on. In the example, between the groups, I used as separator the tab characters. Here is the html for the inputs: <a href="https://jsfiddle.net/2sb6ggz0/" rel="nofollow">https://jsfiddle.net/2sb6ggz0/</a></p>
  
  <p>Update of HTML:</p>
  
  <pre><code>&lt;table&gt;
  &lt;tr&gt;
      &lt;td&gt;
          &lt;form name="form1" action="#" method="get" target=""&gt;
              &lt;input id="input1" name="query" placeholder="Input 1" type="search" size="20"&gt;
          &lt;/form&gt;
      &lt;/td&gt;
      &lt;td&gt;
          &lt;form name="form2" action="#" method="get" target=""&gt;
              &lt;input id="input2" name="query" placeholder="Input 2" type="search" size="20"&gt;
          &lt;/form&gt;
      &lt;/td&gt; 
      &lt;td&gt;
          &lt;form name="form3" action="#" method="get" target=""&gt;
              &lt;input id="input3" name="query" placeholder="Input 3" type="search" size="20"&gt;
          &lt;/form&gt;
      &lt;/td&gt;
      &lt;td&gt;                    
          &lt;form name="form4" action="#" method="get" target=""&gt;
              &lt;input id="input4" name="query" placeholder="Input 4" type="search" size="20"&gt;
          &lt;/form&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Is there a way top achieve this?</p>