WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   Leichte Frage für Regular Expression Profis :) (http://www.wcm.at/forum/showthread.php?t=183139)

jdc3232 15.01.2006 11:21

Leichte Frage für Regular Expression Profis :)
 
hallo zusammen,

ich bastel jetzt seit 1 stunde an dem ding rum und ich komm nicht drauf.

ich brauche einen regex ausdruck für "alle zeichen aber nicht slash(/)"

also like this /.* not \//

wie mache ich das????

vielen dank

jdc

jak 15.01.2006 19:34

Probier mal:
[^\/]
([^"zeichen"] = not "zeichen", / muß man AFAIK as \/ schreiben (weil / den Anfang und das Ende eines Musters kennzeichnet)

jak


Alle Zeitangaben in WEZ +2. Es ist jetzt 19:35 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag