@mateoo88 Why do you want to remove the hyphens? If you’re intending to use this in an SQL query then you would need the hyphens, since that’s how values are stored in date columns in most popular SQL databases.
If you want to enforce the format, then you should use Route::pattern to define a regular expression. I’ve done this in the past for things like date parameters.