A simple regex to match sepcific domains in email string. reg = '^[a-zA-Z0-9_.+-]+@(?:(?:[a-zA-Z0-9-]+\.)?[a-zA-Z]+\.)?(google|facebook|yahoo)\.com$'.
確定! 回上一頁