Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

match uuid patter laravel regex

Validator::extend('location', function ($attribute, $value, $parameters, $validator) {
    return preg_match('/^-?d{1,2}.d{6,}s*,s*-?d{1,2}.d{6,}$/', $value);
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #match #uuid #patter #laravel #regex
ADD COMMENT
Topic
Name
4+2 =