News for hackers. Stuff that matters.
Re:RegExpBuilder – Create regular expressions using chained ... by carlob on Wednesday February 11, 2015 @05:31PM (#9036141)
Mathematica also has its own string pattern sytax

http://reference.wolfram.com/language/ref/StringExpression.h...

Something like that would be

    StringExpression[
        "$",
        Repeated[DigitCharacter],
        ".",
        DigitCharacter,
        DigitCharacter
    ]
or

    StringExpression[
        "$",
        Repeated[DigitCharacter],
        ".",
        Repeated[DigitCharacter, {2}],
    ]
or

    StringExpression[
        "$",
        NumberString
    ]
and the other is

    StringExpression[
        Repeated[
           StringExpression[
               Repeated["p", {1, Infinity}],
               Repeated["q", {2, Infinity}]
           ],
           {2}
        ]
    ]
This can be made more concise since StringExpression has an infix form (~~) and Repeated can sometimes be replaced by postfix ..
Re:RegExpBuilder – Create regular expressions using chained ... by akater on Friday February 13, 2015 @01:00AM (#9043120)
> Repeated can sometimes be replaced by postfix ..

Always, not sometimes. ;-)