title: JS Regex to replace all html tags
body: <p>i have spent a while researching this and cant find a solution, i am looking for a method to remove all html tags from a string and if img tags appear, then replace them with just the src attribute, sorry for little information. Thanks.</p>