regular expression [closed]

If the rest of the url never changes, then you don’t need a regular expression. Just store the first part of the url in a string:

$url_prefix = "http:// www.badoobook.com/clips/index.php?page=videos&section=view&vid_id=";

then append your identifier to it:

$id = 100162; 
$full_url = $url_prefix + $id;

Leave a Comment