How do I retrieve all src value using regex in php?
<script type="text/javascript" src="http://localhost/assets/javascript/system.js" charset="UTF-8"></script>
<script type='text/javascript' src='http://localhost/index.php?uid=93db46d877df1af2a360fa2b04aabb3c' charset='UTF-8'></script>
The retrieved value should only contains:
- http://localhost/assets/javascript/system.js
- http://localhost/index.php?uid=93db46d877df1af2a360fa2b04aabb3c
Thank you.