Try Regex
1 Attachment(s)
First for all, I'm not good with these :stupid:
Secondly I looked some threads from scripting section about regex, but I didn't quite understand. Third, sry for bad english Fourth, lousy tutorial
Some useful links
My snippet
How this work
Zipped test plugin
|
Re: Try Regex
I'll share some of mine:
Valid integer (useful for StringToInt implementation): Code:
"[+-]?\\b\\d+\\b"Code:
"[+-]?(\\b\\d+(\\.\\d+)?|(\\b\\d+)?\\.\\d+)([eE][+-]?\\d+)?\\b"Code:
"([^;\"]+|\"[^\"]*\")+"Code:
"[\\S\"]+|\"[^\"]*\""Code:
"//.*$" |
Re: Try Regex
how about http://www.regular-expressions.info/ for useful link.. ?
|
Re: Try Regex
Quote:
Quote:
|
| All times are GMT -4. The time now is 18:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.