阅读背景:

如何使用preg_replace()删除除“Post”或“Posts”之外的任何内容?

来源:互联网 

I have a string that returns various stuff like numbers, spaces, etc. All I want from it is just "Post" or "Posts". Can someone give me an example of how to do this in PHP?I have a string that returns various stuff like




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: