Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Pattern matching

Empfohlene Antworten

Hab folgendes Problem:

Ich erstelle eine csv-Datei mit Excel oder OpenOffice kopiere den Inhalt und füge diesen in ein HTML Formular ein

Mein Perl-Script hat die Aufgabe das Formular auszulesen und die Daten in eine HTML-seite mit Tabelle zu generieren

Das Problem liegt darin dass die Excel csv-datei wie folgt aussieht

Dies;ist;ein;Beispiel;erste Zeile

Das;ist //hier ist ein Zeilenumbruch in der Zelle

das //die Zelle endet nach zweite

zweite;beispiel;zweite Zeile

In OOFFICE siehts wie folgt aus

Dies;ist;ein;Beispiel;erste Zeile

Das;ist das zweite;zweite Zeile //hier wird der Zeilenumbruch der Zelle als Leerzeichen gezeigt

//sind nur Kommentare von mir erscheinen nicht in der csv-datei

Es klappt alles soweit bis auf die Zeilenumbrüche in den Zellen hat jemand eine Idee

s (PCRE_DOTALL)

If this modifier is set, a dot metacharacter in the pattern matches all characters, including newlines. Without it, newlines are excluded. This modifier is equivalent to Perl's /s modifier. A negative class such as [^a] always matches a newline character, independent of the setting of this modifier.

http://www.php.net/manual/en/pcre.pattern.modifiers.php

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.