Hello there, I need to extract a all text between Â
 var layer = L.geoJson
and
addTo(map)
Â
from the below structure,
any suggestion, please
Â
Â
<!DOCTYPE html>
<html>
  <head>
   <title>Report</title>
   <meta charset="UTF-8">
   <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">
  </head>
  <body>
   <div id="mapHTMLReportGenerator_41" style="width:100%;height:500px;"></div>
   <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.3.4/leaflet.css" />
   <script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.3.4/leaflet.js"></script>
        <script src="https://unpkg.com/esri-leaflet@2.2.3/dist/esri-leaflet.js"></script>
   <script>
     var map = L.map('mapHTMLReportGenerator_41').setView(&0, 0], 3);
           L.esri.basemapLayer("Imagery").addTo(map);
     var layer = L.geoJson(
      )
 {
  "type":"Feature",
  "properties":{
   "name":"C8-R10",
   "popupContent":"C8-R10"
  },
  "geometry":{
   "type":"Polygon",
   "coordinates":{
    Â
     q
      46.5804295755338,
      24.72322090684373
     ],
     Â
      46.5804295755338,
      24.743220906843728
     ],
     p
      46.6004295755338,
      24.743220906843728
     ],
     4
      46.6004295755338,
      24.72322090684373
     ],
     3
      46.5804295755338,
      24.72322090684373
     ]
    ]
   ]
  }
 },
 {
  "type":"Feature",
  "properties":{
   "name":"C8-R11",
   "popupContent":"C8-R11"
  },
  "geometry":{
   "type":"Polygon",
   "coordinates":p
    t
     &
      46.5804295755338,
      24.743220906843728
     ],
     <
      46.5804295755338,
      24.763220906843728
     ],
     p
      46.6004295755338,
      24.763220906843728
     ],
     .
      46.6004295755338,
      24.743220906843728
     ],
     [
      46.5804295755338,
      24.743220906843728
     ]
    ]
   ]
  }
 }
],
      {
        onEachFeature: function (feature, layer) {
          layer.bindPopup(feature.properties.popupContent);
        },
        style:{"color": "rgb(0,0,255)"}
      }).addTo(map);
     map.fitBounds(layer.getBounds());
   </script>
  </body>
</html>
Â