title: Find the simplest regex query to match a set of examples
body: <p>The online service <a href="https://www.kimonolabs.com/" rel="nofollow">Kimono</a> provides a GUI for a user to select
  page elements and then uses the selected elements to create a regex which will match those selections. This regex can then be used to extract information from the same page at different points in time. The service is useful because you dont have to generate the regex query yourself and instead provide a set of example query matches which are then compiled into a query regex expression. The company was acquired and so the service is no longer available.</p>
  
  <p>However the problem seems like an interesting problem and so my question is this: what algorithm is capable of turning a number of examples (both positive and negative are needed) in a large document into a regex which when applied will then match those examples? </p>