Re: [PHP-ES] Expresión regular.

[email protected] (Camilo Kawerín)
Newsgroups php.general.es
Message-ID <[email protected]>
Hola,

2010/11/11 Pablo Braulio <[email protected]>

> Hola a todos.
>
> No tengo mucha experiencia con las expresiones regulares, pero necesito
> saber como hacer una expresión regular para saber si un string tiene 8
> carácteres, mayúsculas y minúsculas.
>

Sería algo así: '/[a-zA-z]{8}/'

Éste es mi sitio de consulta permanente sobre expresiones regulares:
http://www.regular-expressions.info/reference.html

Saludos!



> --
>
Camilo Kawerín
kawerin.com.ar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.