フィールド設定 [Result; SMPS_ExecSync( " [regex]::Matches( 'あいうえおかきくけこ','あ.*?お') | foreach{$_.Value}" )]
メールアドレスを抽出
[regex]::Matches( 'メールアドレス:abc@aaa.com,名前<abc@bbb.com>,abc@ccc.com','\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}\b') | foreach{$_.Value}
フィールド設定 [ TEST::Result ;
Let([
¢target=Substitute ( TEST::F1 ; ["\"" ; "`\""] ; ["`" ; "```"] )
; ¢PS="[regex]::Matches( '{target}','\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}\b') | foreach{$_.Value};"
; ¢PS=Substitute ( ¢PS ; "{target}" ; ¢target )
];
SMPS_ExecSync( ¢PS )
)
]