I have a project and i need the get script in html code.
<script>
(function() {
... / More Code
Level.grade = "2";
Level.level = "1";
Level.max_line = "5";
Level.cozum = 'adım 12\ndön sağ\nadım 13\ndön sol\nadım 11';
... / More Code
</script>
How i get only " adım 12\ndön sağ\nadım 13\ndön sol\nadım 11 " this code?
Thanks for Helps
Use Regex to do that
First grab the content of that SCRIPT tag like
And then use this regex
See demo here https://regex101.com/r/YxHRmR/1
This is code