Andre wrote: > > Hi Hello,
> How can y give s sbstition order of the kind > @string=~s/nonalfanum//g; ^^ The =~ operator binds to scalars NOT arrays. $string =~ s/[^[:alnum:]]+//g > in these two cases? > 1-wich will search and replace with "" (empty char) all nunnumeric or nonalphabetic >chars? See above. > 2-wich will search and replace with "" (empty char) all nunnumeric or nonalphabetic >chars > with the exception of "-","_","@","." ? $string =~ s/[^\w@.-]+//g John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]