Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel route regex except

Router::get('pages/{page}', ...)->where('page', '^(?!about|contact)$');
Source by pineco.de #
 
PREVIOUS NEXT
Tagged: #laravel #route #regex
ADD COMMENT
Topic
Name
8+6 =