I have have a text field for copy-pasting an iFrame code.
<iframe src="https://webpagelink.com/l/3556456/2019-03-06/34576" width="100%"
height="500" type="text/html" frameborder="0" allowTransparency="true"
style="border: 0"></iframe>
What I need help with is striping out the URL within the src=""
value from the iframe. Is this possible using Twig?
Thank you for your help!
src
attribute from the iframe HTML code, or do you want to strip everything but thesrc
attribute (e.g. end up with a variable containing the URL in the originalsrc
attribute)?