http://qs1969.pair.com?node_id=213455


in reply to Regex help

=~ /[^A-Za-z0-9]/ The carrot should be inside the brackets not outside. When it's outside the brackets perl tries to find A-Za-z0-9 in the beginning of words. If it's in the brackets it tells perl to find ANY characters besides the ones in the brackets.

Fixed square brackets - dvergin 2002-11-16