I am trying to check if a url is in given format by using regular expression. this is my code.
myurl is : example.com/123456-watch-example_video_name
$route['([0-9]+)-[watch]-[A-Z0-9_+-]'] = 'mycontroller';
It is going to 404 page. Where I am wrong, i am new to regular expression.