The array is created when i use the scan method so if i used reject it would become a two pass process which is what i am doing anyway so I was wondering if regular expressions had built in support for this. -- Posted via http://www.ruby-forum.com/.