title: Extract multiple substrings from very long line
body: <p>I have very long line of text in format:</p>
  
  <pre><code>http://address1/user1=username1;ip1=ipaddres1;password1=pass1;some text;http://address2/user2=username2;ip2=ipaddress2;password2=pass2;some text;...etc
  </code></pre>
  
  <p>How I can extract usernames (part after user1=, user2=) and ip addresses (part after ip1=, ip2=) from this line (in line have more than 20 usernames and ip addresses) and put them in two files (user.txt, ip.txt)?</p>
  
  <p>Thanks</p>