I am trying to write a pattern for extracting the path for files found in img tags in HTML.
String string = \"
I'd like to expand on this topic as usually the src attribute comes unquoted so the regex to take the quoted and unquoted src attribute is: src\s*=\s*"?(.+?)["|\s]
src
src\s*=\s*"?(.+?)["|\s]