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

Descripción


\s coincide con los espacios, nueva linea y tabulador. \S con los el resto, exceptuando éstos.

Código Fuente


Ere iron was found or tree was hewn,    When young was mountain under moon; Ere ring was made, or wrought was woe,    It walked the forests long ago.

Caso 1


Expresión Regular: \s
Primera Ocurrencia:Ere iron was found or tree was hewn, When young was mountain under moon; Ere ring was made, or wrought was woe, It walked the forests long ago.
Todas Las Ocurrencias:Ere iron was found or tree was hewn, When young was mountain under moon; Ere ring was made, or wrought was woe, It walked the forests long ago.

Caso 2


Expresión Regular: \S
Primera Ocurrencia:Ere iron was found or tree was hewn, When young was mountain under moon; Ere ring was made, or wrought was woe, It walked the forests long ago.
Todas Las Ocurrencias:Ere iron was found or tree was hewn, When young was mountain under moon; Ere ring was made, or wrought was woe, It walked the forests long ago.