需要url的最后一部分
如果是 http://example.com,那么最后一部分是空的。 如果是 http://example.com/i,那么最后一部分是 i。 如果是 http://example.com/i/am/file.php,那么最后一部分是 file.php。
不确定是否需要使用正则表达式。
如果是 http://example.com,那么最后一部分是空的。 如果是 http://example.com/i,那么最后一部分是 i。 如果是 http://example.com/i/am/file.php,那么最后一部分是 file.php。
不确定是否需要使用正则表达式。