Here's a solution which doesn't use regexes, which are probably overkill for this application:
$extension = substr( $string, rindex( $string, '.' ) + 1 );
In reply to Re: How to extract the substring from a delimiter (dot) to end of string?
by infoninja
in thread How to extract the substring from a delimiter (dot) to end of string?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |