Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
Let's make things simpler smile

Why do we care about a correct url. We are only interested in the last parameter right? No matter what domain is entered.

Code
.*VideoID=(.+?)

Seems like a good enough regex for me.

The tag already defines which video service is being used, no need to double check the url.

You would only need to involve the full url if you would make a general [video] tag and the actual video service would be determined from the url entered.

Sponsored Links
Entire Thread
Subject Posted By Posted
Custom Tag - MySpace Gizmo 05/17/2008 1:58 AM
Re: Custom Tag - MySpace blaaskaak 05/17/2008 9:46 AM
Re: Custom Tag - MySpace Gizmo 05/17/2008 9:59 AM
Re: Custom Tag - MySpace badfrog 05/17/2008 3:26 PM
Re: Custom Tag - MySpace jgeoff 05/17/2008 10:24 PM
Re: Custom Tag - MySpace badfrog 05/18/2008 1:49 AM
Re: Custom Tag - MySpace Gizmo 05/18/2008 3:32 AM
Re: Custom Tag - MySpace badfrog 05/18/2008 4:38 PM
Re: Custom Tag - MySpace blaaskaak 05/18/2008 5:58 PM
Re: Custom Tag - MySpace Ian_W 05/18/2008 7:25 PM
Re: Custom Tag - MySpace blaaskaak 05/19/2008 4:21 PM
Re: Custom Tag - MySpace sirdude 05/19/2008 5:20 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,575
Posts293,930
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)