https://docs.google.com/presentation/d/1iapTfVhuES_MD0Q3F4gFzuFOfiitQasKx4Ff0uKSirQ/edit?usp=sharing
Regular Expression Generator by using genetic alogirthm
git clone https://github.com/maojui/Regex-Generator
cd Regex-Generator
pip install -r requirements
python server.py
The service will run on : http://localhost:8080
Above argument 12 means using testset12, which is a set of random ip address.
Our process will try to find out a regex to match all input data.
Target :
9.136.40.77
230.206.226.141
178.53.157.92
251.165.48.74
81.89.99.152
...
122.167.211.226
53.40.30.228
7.92.9.53
84.40.110.26
38.17.220.185
3796 \d{1,3}\.\d{2,3}\.\d{1,3}\.\d{1,3}
3639 [1-2]?[0-9]?[0-9]\.[1-2]?[0-9][0-9]\.[1-2]?[0-9]?[0-9]\.[1-9][0-9]?[1-9]?
- Txt2Re - Generate Regular expressions based on a string
- Regex Generator++ - Automatic Generation of Text Extraction Patterns from Examples
- regexgen - Generates regular expressions that match a set of strings.
- RegexGenerator - A tool for generating regular expressions for text extraction (by @MaLeLabTs)
- Gamon's numberic range generator - Regex Numeric Range Generator, when you need to match an integer range.
- rgxg - Command line tool to generate Regex
- Strings to RegEx - JavaScript library and online tool to generate a regular expression that matches strings.
- Regex Guide - Plain Text to Regex Generator.