static boolean ValidateEmailAddress(str _email) { boolean retval; InteropPermission permission = new InteropPermission(InteropKind::ClrInterop); System.Text.RegularExpressions.Regex re; ; permission.assert(); re = new System.Text.RegularExpressions.Regex( "^([a-zA-Z0-9_'+*$%\^&!\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9:]{2,4})+$" ); return CLRInterop::getAnyTypeForObject(re.IsMatch(_email));
Tuesday, November 25, 2008
Regular Expressions in AX
Saturday, August 9, 2008
Installing VMWare Server (Linux-64)
apt-get install build-essential
apt-get install ia32-libs
apt-get install xinetd
apt-get install linux-headers-`uname -r`
wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.6-91891.tar.gz
tar xfvz VMware-server-1.0.6-91891.tar.gz
cd vmware-server-distrib
./vmware-install.pl
apt-get install ia32-libs
apt-get install xinetd
apt-get install linux-headers-`uname -r`
wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.6-91891.tar.gz
tar xfvz VMware-server-1.0.6-91891.tar.gz
cd vmware-server-distrib
./vmware-install.pl
Subscribe to:
Posts (Atom)