Thursday, August 16, 2012

jquery – Regex to match everything between Then Remove with Javascript

I\’m trying to remove all from a string.



runReportReq.responseText.replace(/\\<style>.*?\\</style>/, \'\')


Can anyone show me where I\’m going wrong?






Rating: 2 out of 5 based on 4 ratings



The post jquery – Regex to match everything between <style> and </style> Then Remove with Javascript appeared first on Javascript ASK.






via Javascript ASK http://javascriptask.phpfogapp.com/jquery-regex-to-match-everything-between-style-and-style-then-remove-with-javascript.html

No comments:

Post a Comment