From: T5in9tao Tsingtao Date: 2007-11-27T08:34:16+09:00 Subject: Re: About a regular expression Thank you. But I belive that don't work yet, even if I update the code like this: -------------------------------- domain_name = /[a-zA-Z0-9-]{1,63}\.(aero|biz|com|org)/ string = '

Ha誰ku

' result = string.scan(domain_name) result.each { |x| puts x } -------------------------------- -- Posted via http://www.ruby-forum.com/.