in reply to SOLVED Removing characters
# replace (s///) all (g) non word-characters \W with nothing $mystring = $mystring += $_=~ s/\W//g; print lc($mystring); # lowercase
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Removing characters
by Slug (Acolyte) on Jan 22, 2008 at 15:22 UTC | |
by Fletch (Bishop) on Jan 22, 2008 at 15:31 UTC | |
by svenXY (Deacon) on Jan 22, 2008 at 16:21 UTC | |
by svenXY (Deacon) on Jan 22, 2008 at 16:13 UTC |