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

Descripción


\B coincide con un no inicio de palabra. El límite de una palabra (\b) puede ser definido como el punto entre dos caracteres que tengan \w de un lado y \W al otro (en cualquier orden).

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: \B.
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: .\B
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.