Hello, would anyone know how to do this regular expression in .htaccess?
I need to leave the friendly URL pattern in this format:
http://dominio.com.br/usuario/joao.json
http://dominio.com.br/usuario/adriano.json
http://dominio.com.br/usuario/henrique.json
To return the following file in a directory schema configured this way:
/usuario/j/o/a/o/data.json
/usuario/a/d/r/i/a/n/o/data.json
/usuario/h/e/n/r/i/q/u/e/data.json
Knowing that the user can vary in size, being able to have more than 10 characters, how to create a regular expression with undefined number of parameters?