- $p = '//i';
- preg_match_all($ p,$str,$match);
- print_r($match[1][0]);
- ?>
Copy code
- The result is: http://usr .im/200x60?bg=3498DB&text=tool.lu
-
- The result is: http://img.it-home.org/data/attachment/forum/2016pic2/55c877240001291602790279-80-80.jpg
Copy code
|
The picture shows, the first one, PHP