!{$content|regex_replace:"/http([s]?):\/\/([^\/]+)\/(.+)/i":"<a href=\"http\\1://\\2/\\3\" target=\"_blank\">\\1\\2\\3</a>"}!
21 mar 2013
!{$content|regex_replace:"/http([s]?):\/\/([^\/]+)\/(.+)/i":"<a href=\"http\\1://\\2/\\3\" target=\"_blank\">\\1\\2\\3</a>"}!
if(preg_match('/
<param name="movie" value="([^>]*)">/', $content, $matches)) {
$clip_url = $matches[1];
}
echo $clip_url;
if(preg_match('/^([0-9]{1,2})[-\.]([0-9]{1,2})[-\.]([0-9]{4})/', $tag))
echo '<br>-data:'.$tag;
function testdate(fld, form) {
let blad = '';
if (fld.value !== '') {
const data = fld.value;
const RegDate = /^(19|20)\d\d[-](0[1-9]|1[012])[-](0[1-9]|[12][0-9]|3[01])$/i;
const wynik = RegDate.test(data);
if (wynik === false) blad += ' – data\';
}
if (blad !== '') blad = `Proszę wypełnić pola: ${blad}`;
if (blad !== '') {
alert(blad);
return false;
}
}