Korea FreeBSD Users Group News, Internal, Projects, Home
Software, Support, Documentation

Re: [Áú¹®] Á¤±Ô½Ä Ç¥Çö ....



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

[ÀÌÀü ±Û] [´ÙÀ½ ±Û] [ÀÌÀü ´ñ±Û] [´ÙÀ½ ´ñ±Û]


\w[\w\-_\.]+@[\w\-_\.]+\w

°ú °°ÀÌ ÇÏ¸é µÇÁö ¾ÊÀ»±î¿ä?

¿øÇÏ´Â°Ô ¸Â´ÂÁö´Â ¸ð¸£Áö¸¸,

´ÙÀ½°ú °°ÀÌ µÇ´Â±º¿ä.

bash-2.03$ ./test.pl 
...person@some.net---

person@some.net

bash-2.03$ cat ./test.pl
#!/usr/local/bin/perl -w

if (<STDIN> =~ /(\w[\w\-_\.]+@[\w\-_\.]+\w)/)
{
    print "\n$1\n";
}

-- 
 /*
  * Jinyeong Kim
  * prince@snags.snu.ac.kr http://snags.snu.ac.kr/~prince/
  * SNAGs (System & Network Administrators' Group in SNU)
  */
--
Please look and take part in KFUG FAQ: <http://www.kr.freebsd.org/FAQ-kr/>
To Unsubscribe: send mail to majordomo@kr.FreeBSD.org
with "unsubscribe questions" in the BODY of the message



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

Copyright © 1998-2005 Korea FreeBSD Users Group.
All rights reserved. webmaster at kr.FreeBSD.org
$Date: 2002/10/31 23:00:24 $
Powered by FreeBSD