New Features

  1. Improved algorithm results:
    1. Optimal Exact Match is now learned (as the first regex).
    2. Expansion Factor is displayed for each regex: Expansion Factor = (number of strings matched) / (number of original input strings).
    3. Abstraction Type is now displayed.
    4. Significant Length is now displayed, with the significant characters counted in the regex, in red.
  2. New Easy Registration/Login.
  3. 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.

To demonstrate this, 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}