How To Process
- Register and log in, with your Google or Microsoft account.
- After logging in: To Manage Your Account: Click on Manage Your Account at the top right.
- To Subscribe: On your Account Create Subscription page, choose a subscription plan and follow the prompts.
- Go to the Home page.
- Type or paste in your set of input strings, that you want to learn the regexes for, into the text box provided.
- Type in your Learn event name/description, in the box provided.
- Optional (but recommended): Tick the checkbox for: "I allow you to store my strings and regexes, and I therefore get a 30% discount for this Learn Event."
- Click the button to calculate the cost of the learn event.
- Click the button to pay and generate the regexes. The calculated price will be subtracted from your subscription account.
- You will receive an email with the learned regexes, within an hour. Input strings near the top limits may take up to a few days. The email will be send to the email address you logged in with. Expect an email from "results@mlregex.com". ***Please remember to check your Spam folder as well!***
- Refund Policy: We are confident MLREGEX will learn the most optimal regex for your input strings. If it does not, we will refund you the cost of the specific learn event. See Refund Policy.
Here are two actual email results received:
Example 1: Simple example with 2 input strings and a choice of 2 learned regexes (The Optimal Exact Match and 1 Match):
MLREGEX results 2025-03-07 14:16:16 UTC
Your Learn Event ID:
6c34a2f2-0e25-4a65-bbf6-519bfde9238b
Your Learn Event Name/Description:
Coffee and Tea
Your set of input strings (2)
coffee
tea
Learned Regexes (2)
1. MOST OPTIMAL EXACT MATCH
ABSTRACTION TYPE: NONE
EXPANSION FACTOR: 1.0X
SIGNIFICANT LENGTH: 7
cof{2}e{2}|tea
2. MATCH
ABSTRACTION TYPE: Structural
EXPANSION FACTOR: 4.0X
SIGNIFICANT LENGTH: 6
(cof{2}|t)e{1,2}a?
Example 2: URL example with 13 input strings and a choice of 8 learned regexes (The Optimal Exact Match, 5 Matches and 2 Exact Matches):
MLREGEX results 2025-03-07 14:16:40 UTC
Your Learn Event ID:
0f82734c-9a45-4648-b702-f03c2c468c72
Your Learn Event Name/Description:
URLs
Your set of input strings (13)
http://1.alpha.com
http://2.alpha.com
http://3.alpha.com
http://4.beta.com
http://5.beta.com
http://6.beta.org
http://7.beta.org
https://1.alpha.com
https://2.alpha.com
https://3.alpha.com
https://4.beta.com
https://5.beta.com
https://6.alpha.org
Learned Regexes (8)
1. MOST OPTIMAL EXACT MATCH
ABSTRACTION TYPE: Digit Ranges 1
EXPANSION FACTOR: 1.0X
SIGNIFICANT LENGTH: 43
ht{2}p(s?:/{2}([1-3]\.alph|[4-5]\.bet)a\.com|(s:/{2}6\.alph|:/{2}[6-7]\.bet)a\.org)
2. EXACT MATCH
ABSTRACTION TYPE: NONE
EXPANSION FACTOR: 1.0X
SIGNIFICANT LENGTH: 44
ht{2}p(s?:/{2}((1|2|3)\.alph|(4|5)\.bet)a\.com|(s:/{2}6\.alph|:/{2}(6|7)\.bet)a\.org)
3. MATCH
ABSTRACTION TYPE: Structural
EXPANSION FACTOR: 8.6X
SIGNIFICANT LENGTH: 27
ht{2}ps?:/{2}(1|2|3|4|5|6|7)\.(alph|bet)a\.c?o(m|rg)
4. MATCH
ABSTRACTION TYPE: Structural
EXPANSION FACTOR: 1.2X
SIGNIFICANT LENGTH: 65
(ht{2}ps?:/{2}(1|2|3)\.alpha\.com|ht{2}ps?:/{2}(4\.beta\.com|5\.beta\.com|6\.alpha\.org|(6|7)\.beta\.org))
5. EXACT MATCH
ABSTRACTION TYPE: Structural
EXPANSION FACTOR: 1.0X
SIGNIFICANT LENGTH: 92
((ht{2}ps:/{2}(1|2|3)|ht{2}p:/{2}(1|2|3))\.alpha\.com|(ht{2}ps|ht{2}p):/{2}4\.beta\.com|(ht{2}ps|ht{2}p):/{2}5\.beta\.com|ht{2}p:/{2}(6|7)\.beta\.org|ht{2}ps:/{2}6\.alpha\.org)
6. MATCH
ABSTRACTION TYPE: Digit Class 1
EXPANSION FACTOR: 3.9X
SIGNIFICANT LENGTH: 37
ht{2}p(s?:/{2}(\d\.alph|\d\.bet)a\.com|(s:/{2}6\.alph|:/{2}\d\.bet)a\.org)
7. MATCH
ABSTRACTION TYPE: Word Class 1
EXPANSION FACTOR: 24.3X
SIGNIFICANT LENGTH: 37
ht{2}p(s?:/{2}(\w\.alph|\w\.bet)a\.com|(s:/{2}6\.alph|:/{2}\w\.bet)a\.org)
8. MATCH
ABSTRACTION TYPE: Character Ranges 2
EXPANSION FACTOR: 76923.1X
SIGNIFICANT LENGTH: 17
ht{2}p[.-/1-7:a-ceg-hl-mo-pr-t]{13,15}