Here is the current regex
What I am trying to do is to grab element that is:
With the current Regex I am able to grab the value but it also grabs all the "src" elements on the page.
What I am attempting to do is to only get this one line that includes the
<script and then the src="">
And then just get the src="info from hrere"
How can I edit the current regex code to include <script type="text/javascript"
Thanks
Code:
"src=[\""\'](http:\/\/|\.\/|\/)?\w+(\.\w+)*(\/\w+(\.\w+)?)*(\/|\?\w*=\w*(&\w*=\w*)*)?[\""\']>"
What I am trying to do is to grab element that is:
Code:
<script type="text/javascript" src="http://www.mysite="I need to grab everything inside these quotes">
With the current Regex I am able to grab the value but it also grabs all the "src" elements on the page.
Code:
src="http://www.mysite="I need to grab everything inside these quotes">
What I am attempting to do is to only get this one line that includes the
<script and then the src="">
And then just get the src="info from hrere"
How can I edit the current regex code to include <script type="text/javascript"
Thanks