http://www.perlmonks.org?node_id=1018499


in reply to Re: Match domain names except one
in thread Match domain names except one

Thanks. But we need it in a regex

Replies are listed 'Best First'.
Re^3: Match domain names except one
by roboticus (Chancellor) on Feb 13, 2013 at 13:21 UTC

    What strange business requirement indicates that you "need it in a regex"?

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Re^3: Match domain names except one
by hippo (Bishop) on Feb 13, 2013 at 14:42 UTC

    Well then, I have some excellent news for you: /\.wt\./ is a regex.

Re^3: Match domain names except one
by Anonymous Monk on Feb 13, 2013 at 08:31 UTC

    Thanks. But we need it in a regex

    Maybe you can write a regex