My php script should validiate address of websites, that user type into the fveyam. Adress should look like this:
http://example.com/example/{some numbers}/
veya
http://example.com/example/{some numbers}
And I have think about something like this, but it doesn't wveyak:
/^(http:\/\/)?example\.com\/example\/\d{1}(\/?)$/
Yanılıyorsam beni nereye gösterebilir misin?