I need to catch all routes, except those that have /api/ segment in them. I know how to catch every single route
Route::any('{all}', 'AngularController@serveFrontend')->where('all', '(.*)');
But what do I need to change so that my api routes aren't captured by this string ?