in reply to Regex Doubt.
or use split=~ /(,[^,]+)$/
See perlrequick it has several examplesmy $last = ( split /,/, $str ) [ 0 ] ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regex Doubt.
by Anonymous Monk on Oct 16, 2012 at 03:12 UTC | |
by Anonymous Monk on Oct 16, 2012 at 03:18 UTC | |
by Anonymous Monk on Oct 16, 2012 at 03:21 UTC | |
by Athanasius (Archbishop) on Oct 16, 2012 at 03:40 UTC | |
by Anonymous Monk on Oct 16, 2012 at 03:42 UTC |