note
ExReg
<p>Are you looking to strip the c off the front and the f or l off the back?
</p>
<c>perl -e '$tgt =~ s/\bc?(\w+?)(?:f|l)?\b/$1/g;'
</c>
<p>Feed the target token into it to strip off leading c and trailing f or l. Of course, this would make a bool into a boo.
</p>
1156148
1156148