I have the following code in powershell:

`if($url -match "^https://www.youtube"`)

As I can perform the same check in batch I have tried with the following but nothing:

```
echo %url% | findstr "^https://www.youtube*$" >nul

if %url% == 0 (

echo la variables es correcta

) else (

echo la varaible no es correcta

)

```