Below is the CLOB column value in one of my table. This value contains many images paths.
<p><img alt="" src="/library/NATIONWIDE/CCS_SUPPORT/Emmy2.jpg" style="height:67px; width:50px" /></p>
<p><img alt="" src="/library/NATIONWIDE/CCS_SUPPORT/Emmy%201.jpg" style="height:133px; width:100px" />Please test this document</p>
<p> </p>
<p><img alt="" src="/library/NATIONWIDE/CCS_SUPPORT/Kenny.jpg" style="height:250px; width:200px" /></p>
<p> </p>
i wrote below query to find the all images paths from above column value but its returning only first image path but not others. How can i get other string values.
SELECT REGEXP_SUBSTR(contentdata.xml, '/library/NATIONWIDE/.* style') AS xml_substr
FROM contenttext
WHERE
contenttext.xml LIKE '%img alt=%'
AND contenttext.documentid LIKE 'SPT91%'
AND contenttext.published = 'Y';
Output of my Query is:
/library/NATIONWIDE/CCS_SUPPORT/Emmy2.jpg" style
Can you guide me, how to get all the image paths ?
Thank You kishore Kuna