Due to Murphy's law, the site was unavailable due to a local power failure from Monday 14-th afternoon to the morning of the next day (European time). We are very sorry.
We have two on-line tools for different flavors of this problem:
- a set of input strings;
- for each string you specify the (possibly empty) substring to be extracted.
The tool attempts to infer a general data extraction pattern from the examples. It generates a regular expression that may be applied to a data stream for extracting only the portions complying with the inferred pattern.
- a set of strings to be matched;
- a set of strings to not be matched;
The tool does not attempt to infer any general pattern. It generates a regular expression that classifies the provided strings, in a spirit identical to http://regex.alf.nu/ and http://nbviewer.ipython.org/url/norvig.com/ipython/xkcd1313-part2.ipynb
Based on "Playing Regex Golf with Genetic Programming", to appear at ACM GECCO 2014. Finalist at Humies 2014 - Human Competitive Results Produced by Genetic and Evolutionary Computation.