SimpleRegex / SRL-PHP

Simple Regex Language

Home Page:https://simple-regex.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate verbose syntax from regexp

antonkomarev opened this issue · comments

It would be great to have inverse behavior.

User provides:

/^([A-Z0-9._%+-])+@[A-Z0-9.-]+\.[A-Z]{2,}$/i

Output:

begin with any of (digit, letter, one of "._%+-") once or more,
literally "@",
any of (digit, letter, one of ".-") once or more,
literally ".",
letter at least 2,
must end, case insensitive

Duplicate of #9