I am not good at expressions
I would like to match the string below of a string.
http://www.site.com/ * .js
preg_match('(http://www\.site\.com/).*(\.js)',$html,$match);
I know this code is not right. * Represents any file with .js extension.
Could anyone guide me with the expression.
Sorry if any duplication.
You have to use delimiters such as ‘#’, ‘@’ or ‘/’ in the pattern :