Thread bestimmte Positionen in text Datei auslesen (11 answers)
Opened by perle at 2013-07-12 12:39

renee
 2013-07-16 15:45
#168905 #168905
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Dann mach aus
Code: (dl )
1
2
3
4
        ^ DATA-BEGIN \s+ DATA-END \s+ RELEASE \s+
(\d{4}-\d{2}-\d{2} \s+ \d{2}:\d{2}:\d{2}) \s+ # found-begin
(\d{4}-\d{2}-\d{2} \s+ \d{2}:\d{2}:\d{2}) \s+ # found-end
(\d{4}-\d{2}-\d{2} \s+ \d{2}:\d{2}:\d{2}) \s+ # release
das hier
Code: (dl )
1
2
3
4
        ^ DATA-BEGIN \s+ DATA-END \s+ RELEASE \s+
(\d{4}-\d{2}-\d{2} \s+ \d{2}:\d{2}:\d{2}) \s+ # found-begin
(\d{4}-\d{2}-\d{2} \s+ \d{2}:\d{2}:\d{2} | \s{19}) \s+ # found-end (Datum oder 19 Leerzeichen)
([^\n]*) \s+ # release
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread bestimmte Positionen in text Datei auslesen