-1
PHP正則表達式查找字符串我想找到PHP的正則表達式查找單詞串
stackoverflow.site在我的字符串
'stackoverflow.site' 特異性網址。後,我會用我自己的網址
$string='Regular expressions are a powerful tool for examining http://www.stackoverflow.site/uploads/2008/07/22/feldbalz-by-gus-wustemann-17.jpg and modifying text. Regular expressions themselves, with a general pattern notation almost like a mini programming language, allow you to describe and parse text. They enable you to search for patterns within a string, extracting matches http://www.stackoverflow.site/uploads/2008/07/22/feldbalz-by-gus-wustemann-squ1.jpg flexibly and precisely. However, you should note that because regular expressions are more powerful, they are also slower than the more basic string functions. You should only use regular expressions if you have http://www.stackoverflow.site/uploads/2008/07/22/feldbalz-by-gus-wustemann-12.jpg a particular need.
This tutorial gives a brief overview of http://www.stackoverflow.site/uploads/2008/07/22/feldbalz-by-gus-wustemann-2.jpg basic regular expression syntax and then considers the functions that PHP provides for working with regular expressions.';
$find='[http://www.stackoverflow.site/uploads/]';
正則表達式不是其他 –
這個看起來有點黑幕......說最少:)) –