Java,Php, Curl not sure what code is this need help

rap8557

Banned - Selling via PM
Joined
Sep 15, 2008
Messages
2,000
Reaction score
631
Hello guys,

I need help, i'm not really a coder but i just analyse and copy codes from the previous services that was added on my panel. I was trying to add tiktok follower services on my panel and i tried to copy the codes from other services that i have.

The valid format should be like this https://www.tiktok.com/@username
I tried all of these

/^https?:\/\/www\.tiktok\.com\/\@(.+)\/?$/i
/^https?:\/\/www\.tiktok\.com\/@\([a-z0-9_-]+).*$/i
hncHgZd


but it didn't work the @ sign is getting deleted
ytJMbYJ


How can i do this?
Thank you
 
in your case username can contain any character .+ and thats not a correct solution
Point was to just move @ sign to inside of brackets.
I dont know what requirements tiktok has for username, but if its just letters,numbers,underscores and dashes, then:

/^https?:\/\/www\.tiktok\.com\/(@[A-Za-z0-9_-]+)$/i
 
Back
Top