I make a request to my script, in response I get such a picture
12345<style type="text/css"> And after that the hosting advertising went, I have nothing against it, but this prevents me from sparcing the answer. You need to parse everything from the beginning to < or <style .
I tried
answer:gmatch("(%s+)(<)") In my opinion, it should look something like this, but it does not work.