English | česky | >> Deutsch << | Español ZVON > Tutorials > Regular Expressions Tutorial
>> Beispiel 20 << | Zurück | Vor | Inhalt | Reguläre Ausdrücke

Beschreibung


\s findet alle Leerraumzeichen: Leerzeichen, Zeilenumbruch und Tabulator. \S findet alle Nicht-Leerraumzeichen.

Quellcode


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.

Fall 1


Regulärer Ausdruck: \s
Erster Treffer: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.
Alle Treffer: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.

Fall 2


Regulärer Ausdruck: \S
Erster Treffer: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.
Alle Treffer: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.