File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed 
9-regular-expressions/10-regexp-greedy-and-lazy/4-find-html-tags-greedy-lazy Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11
2- The solution is  ` pattern:<[^<>]+> ` . 
2+ সমাধানটি হল  ` pattern:<[^<>]+> ` । 
33
44``` js  run
55let  regexp =  / <[^ <>] + >/ g ;
Original file line number Diff line number Diff line change 1- # Find HTML tags  
1+ # এইচটিএমএল ট্যাগের অনুসন্ধান  
22
3- Create a regular expression to find all (opening and closing) HTML tags with their attributes .
3+ একটি প্যাটার্ন লিখুন যেন সকল এইচটিএমএল ট্যাগগুলো(অ্যাট্রিবিউটসহ) খুঁজে পায় .
44
5- An example of use :
5+ উদাহরণস্বরূপ :
66
77``` js  run
8- let  regexp =  / your regexp / g ;
8+ let  regexp =  / আপনার প্যাটার্ন / g ;
99
1010let  str =  ' <> <a href="/"> <input type="radio" checked> <b>' 
1111
1212alert ( str .match (regexp) ); //  '<a href="/">', '<input type="radio" checked>', '<b>'
1313``` 
1414
15- Here we assume that tag attributes may not contain  ` < `  and  ` > `  (inside squotes too), that simplifies things a bit.  
15+ এখানে কিছুটা সহজের জন্য আমরা ধরে নিয়েছি অ্যাট্রিবিউটের মাঝে এই দুটি বন্ধনী  ` < `  এবং  ` > `  থাকবে না। 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments