English | česky | Deutsch | >> Español << ZVON > Tutorials > Regular Expressions Tutorial
>> Ejemplo 15 << | Anterior | Siguiente | Contenido | Expresiones Regulares

Descripción


Las llaves indican un número preciso de ocurrencias. {m} indica exactamente m veces (Caso 1), {m,n} indica como mínimo m ocurrencias y n como máximo (Caso 2) y {m,} indica mínimo m ocurrencias (todas como máximo) (Caso 3).

Código Fuente


One ring to bring them all and in the darkness bind them

Caso 1


Expresión Regular: .{5}
Primera Ocurrencia:One ring to bring them all and in the darkness bind them
Todas Las Ocurrencias:One ring to bring them all and in the darkness bind them

Caso 2


Expresión Regular: [els]{1,3}
Primera Ocurrencia:One ring to bring them all and in the darkness bind them
Todas Las Ocurrencias:One ring to bring them all and in the darkness bind them

Caso 3


Expresión Regular: [a-z]{3,}
Primera Ocurrencia:One ring to bring them all and in the darkness bind them
Todas Las Ocurrencias:One ring to bring them all and in the darkness bind them