nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

pattern matching - any text but not " ; "

Von: hoffiman@googlemail.com (hoffiman@googlemail.com) [Profil]
Datum: 14.09.2007 09:08
Message-ID: <1189753726.629999.267170@y42g2000hsy.googlegroups.com>
Newsgroup: de.comp.lang.perl.cgi
Hi all,

i need your help !!!

i need the string:  the word create then_any_char but in
"then_any_char" is not a ;

for example: with this  if ( $line =~ /create .*;/ )
i found the string "create text_text_Text ;"

and with this if ( $line =~ /create .*/ )
i found the string   "create text_text_Text "
and also the string above - but i need only the sting "create
text_text_Text "

Somthing like "the word create" then any text but no ;

i am dispairing - please help

thanks


[ Auf dieses Posting antworten ]