my $pos = rindex( $string, '.' ); my $result = ($pos >= 0 ? substr( $string, $pos+1 ) : '' ); [download]
In reply to Re: Help with a regex by ikegami in thread Help with a regex by marco.shaw