Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local kek = "https://scribble.io"
- for i=1,#kek do
- if string.sub(kek,1,i):lower() == "https://" or string.sub(kek,1,i):lower() == "http://" then
- for k=i,#kek do
- if string.sub(kek,k,k+3):lower() == ".com" or string.sub(kek,k,k+3):lower() == ".tv" or string.sub(kek,k,k+3):lower() == ".net" or string.sub(kek,k,k+3):lower() == ".edu" or string.sub(kek,k,k+3):lower() == ".org" or string.sub(kek,k,k+3):lower() == ".io" then
- kek = string.sub(kek,i+1,k-1)
- end
- end
- end
- end
- print(kek)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement