Regular Expression to Remove Beginning and End chars from a string?
Let\'s say I have a string like so:
$file = \'widget-widget-newsletter.php\';
I want to use 开发者_高级运维preg_replace() to remove the prefix widget- and to remove the suffix .php .Is it possible
0
0
0
加载中,请稍侯......
精彩评论