what want to get first and last char by regex ? like that m/(.?)..etc/$f = substr($str,0,1) $l=substr($str,-1);
In reply to Re^2: regex for string
by saranperl
in thread regex for string
by saranperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |