So I'm trying to read a message on my website, but it doesn't read all of it and I don't know why, heres my code.

hs = game:GetService("HttpService")

link = hs:GetAsync("http://swagman.net63.net/server.html")

local whattoolookfor = [[<p1>Welcome message: %S+</p1>]]

local find = link:match(whattoolookfor)

message = find:match("%S+")

print(message)

my website is http://swagman.net63.net/server.html

as I was saying, it doesn't read all of it, instead it just gives me this:

https://gyazo.com/4a313f5ff4164718ffe0129df774f7ba

3 comments

0
  1. you use

    not

0

I would recommend using %w+

0

hey, i tried using %w+ string pattern but it just printed "p"