Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 22nd, 2018
57
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
$youtube_id = NULL;
if (preg_match("#(?<=v=)[a-zA-Z0-9-]+(?=&)|(?<=v\/)[^&\n]+(?=\?)|(?<=v=)[^&\n]+|(?<=youtu.be/)[^&\n]+#", $url, $matches)) {
$youtube_id = $matches[0];
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
LC净化脚本
JavaScript | 21 min ago | 1.08 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 50 min ago | 0.39 KB
HA earthquake alert automation
YAML | 50 min ago | 0.49 KB
Untitled
FreeBasic | 60 min ago | 3.67 KB
new Earthquake shell script
Bash | 1 hour ago | 0.41 KB
SNN
Python | 1 hour ago | 7.73 KB
SNN-RandomForest
Python | 1 hour ago | 9.88 KB
CNN-RNN
Python | 1 hour ago | 4.03 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!