Regular Expression Generator



Is there a library or a way to generate an appropriate regular
expression for any given input string?
(remove quotes for examples)
For example: "1234567890abcdef is in hex9"
Regex Generator returns: [0-9|A-F]{16} [a-z]{2} [a-z]{2} [0-9|a-z]{3}

Or anything that does some sort of similar processing?

.



Relevant Pages

  • Regular Expression Generator
    ... Is there a library or a way to generate an appropriate regular ... expression for any given input string? ... (remove quotes for examples) ... Or anything that does some sort of similar processing? ...
    (perl.beginners)
  • Regular Expression Generator
    ... Is there a library or a way to generate an appropriate regular ... expression for any given input string? ... (remove quotes for examples) ... Or anything that does some sort of similar processing? ...
    (comp.lang.perl.misc)
  • Re: preg_match
    ... Experimenting and googling for a few hours didn't get me ... My input string could look ... The values could be enclosed in single quotes, ...
    (comp.lang.php)
  • Re: Tough (for me) regex case
    ... > I know I'm not a regular, and I'm new to the arcana of regular ... so I'm a little stuck with two specific cases and I'm ... > The case I'm most stumped on is an input string like this: ... In other words, my desired matches are: ...
    (microsoft.public.dotnet.framework)
  • Re: Tough (for me) regex case
    ... > I know I'm not a regular, and I'm new to the arcana of regular ... so I'm a little stuck with two specific cases and I'm ... > The case I'm most stumped on is an input string like this: ... In other words, my desired matches are: ...
    (comp.lang.perl.misc)