Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex placa de carro

<?php
    
    $regex = '/[A-Z]{3}[0-9][0-9A-Z][0-9]{2}/';
    $placa = 'AAA0A00';
    
    if (preg_match($regex, $placa) === 1) {
        // placa válida
    }
Source by ricardo.coelho.eti.br #
 
PREVIOUS NEXT
Tagged: #regex #placa #de #carro
ADD COMMENT
Topic
Name
1+3 =