$ grep -r "#type" ./posts
Tag

#type

// 2 matches

PHP Get File Extension

Just some examples: $filename = 'sample.gif'; // 1. The "explode/end" approach $ext = end(explode('.', $filename)); // 2. The "strrchr" approach $ext = substr(strrchr($filename, '.'), 1); // 3. The...

IT-Digest AI Assistant