regex expression with accurately string -


i want find tag in middle text. want jquery.js script.

....

<script src="jquery.js" type="text/javascript"></script> <script src="jquery-ui.min.js" type="text/javascript"></script> 

...

in other words, how found regex expression "<script src="jquery.js" type="text/javascript"></script>"

have tried regular expression?

<\s*script\s+src\s*=\s*"jquery.js".*<\/script> 

https://regex101.com/r/qt7pf6/1


Comments

Popular posts from this blog

ios - Is 'init' forbidden as *part* of a variable name? -

file - Python: AttributeError: 'str' object has no attribute 'readlines' -

c# - Get the Class name in a class with atribute inside a attribute method -