I have a script below:
<script src="http://localhost/folder/api/v1/shop/1?template=light" type="text/javascript"></script>
And need regular expression to detect this block: api/v{1-any number}/shop/{1-any number}
For example regular expression for this block: shop.load.v1.php :
/.*shop\.load\.([^/]+\.)?php/
Thanks.
shop.load.v1.php? What does it have to do with detecting the blockapi/v{1-any number}/shop/{1-any number}?