0
ためREGEXP_LIKE:REGEXP_REPLACEと私はエキスの電子メールのために、この正規表現を使用してメール
regexp_replace(xxx, '.*=([A-Za-z0-9._%-]*@[A-Za-z0-9._%-]*\.[A-Za-z]{2,4}).*','\1')
regexp_like(xxx,'=+[A-Za-z0-9._%-][email protected][A-Za-z0-9._%-]+\.[A-Za-z]{2,4}')
私はこのような文字列を抽出することができます。
select regexp_replace('/[email protected]?Id=12323424','.*=([A-Za-z0-9._%-]*@[A-Za-z0-9._%-]*\.[A-Za-z]{2,4}).*','\1')
をしかし、私次のような文字列を抽出できません:
select regexp_replace('/AAA/SSS/CCC/[email protected]?Id=12323424','.*=([A-Za-z0-9._%-]*@[A-Za-z0-9._%-]*\.[A-Za-z]{2,4}).*','\1')
出力:/AAA/SSS/CCC/[email protected]?Id=12323424
どうすればいいですか?
ありがとうございました。