I found the solution myself:
Route::get('foo-{name}-bar', function($name){
return $name;
})->where('name', '.*');
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community