All pastes #388108 Raw Edit

NetRipper

public php v1 · immutable
·published 2007-03-09 21:02 UTC
rendered paste body
if (!eregi("^[a-z0-9]+([_\\.-][a-z0-9]+)*@([a-z0-9]+([\.-][a-z0-9]{1,})+)*$",trim($_POST['email']))){   // email is wrong}