1 # Copyright 2002-2007 Interchange Development Group and others
2 # Copyright 1996-2002 Red Hat, Inc.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version. See the LICENSE file for details.
9 # $Id: alpha.filter,v 1.7 2007-08-20 21:11:09 jon Exp $
12 CodeDef alpha Description A-Za-z only
13 CodeDef alpha Help Returns only ASCII alphabetic characters (A-Z and a-z)
14 CodeDef alpha Routine <<EOR
17 $val =~ s/[^A-Za-z]+//g;