$name =~ s/^\s+//; $name =~ s/\s+$//;
In reply to Re: Thanks !! (Re: How to ignore/replace all whitespaces,tab spaces, new line from a given string in REGEX ??)
by ikegami
in thread How to ignore/replace all whitespaces,tab spaces, new line from a given string in REGEX ??
by sugarkannan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |