Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
形式 E- で始まり、「AT」を実際の「@」記号に置き換える電子メールアドレスに一致する正規表現を考え出そうとしています。
次に例を示します。
Example.COM の E-CANAD.JACK。
目的の出力は、 CANAD.JACK@EXAMPLE.COMのようにする必要があります。
交換:
[eE]-([a-zA-Z0-9]+(?:[._-][a-zA-Z0-9]+)*) (?:at|AT) ([a-zA-Z0-9]+(?:[._-][a-zA-Z0-9]+)*[.][a-zA-Z]+)
に:
$1@$2
もっと: