Regex tester
Pattern
Input
<div class="1"><iframe 
width="100%"
height="427px" 
src="https://www.youtube.com/embed/1"
frameborder="0"
allowfullscreen=""></iframe></div>
<div class="2"><iframe width="100%" height="427px" src="https://www.youtube.com/embed/2" frameborder="0" allowfullscreen=""></iframe></div>
Options
Replacement
Click the context tab to see replacements.
2 matches found in about 23 milliseconds.
IndexPositionMatched String${width}${height}${src}
022
width="100%"
height="427px"
src="https://www.youtube.com/embed/1"
frameborder="0"
allowfullscreen="">
100%427pxhttps://www.youtube.com/embed/1"
1170 width="100%" height="427px" src="https://www.youtube.com/embed/2" frameborder="0" allowfullscreen="">100%427pxhttps://www.youtube.com/embed/2"
<div class="1"><iframe 
​width="100%"
​height="427px" 
​src="https://www.youtube.com/embed/1"
​frameborder="0"
​allowfullscreen=""></iframe></div>
​<div class="2"><iframe width="100%" height="427px" src="https://www.youtube.com/embed/2" frameborder="0" allowfullscreen=""></iframe></div>
  1. <div class="1"><iframe
  2. 100%
  3. 427px
  4. https://www.youtube.com/embed/1"
  5. </iframe></div>
    <div class="2"><iframe
  6. 100%
  7. 427px
  8. https://www.youtube.com/embed/2"
  9. </iframe></div>