in reply to data cleaning - removing text from variables
Regex's are your friend.
#perl -e '$_="1aa23.4a";$_=~s/[a-f]//gi;print "$_\n"' 123.4 #
|
---|
In Section
Seekers of Perl Wisdom