Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 21st, 2018
74
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
function is_well_formed_hostname($host) {
return preg_match('~^(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)*[a-z](?:[a-z0-9-]*[a-z0-9])$~', $host);
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
HTML | 6 min ago | 0.07 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 38 min ago | 0.39 KB
Recusivly echo files with a specific extensio...
Bash | 41 min ago | 0.21 KB
Untitled
C++ | 52 min ago | 47.02 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 1 hour ago | 0.38 KB
Swimbot Error
Python | 1 hour ago | 0.68 KB
VIM: Window and Tab binds
VIM | 1 hour ago | 5.53 KB
Vercel fix reload with Vite
JSON | 1 hour ago | 0.07 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!