|
|
Browse by Tags
All Tags » split tokenize parse
-
Dear colleagues,
I like to parse a text and split it at specific keywords (e.g. k1 or k2). I'll use it in a .NET application like
MatchCollection matches = Regex.Matches (sSrc, sRegEx); but for testing I am using RadSoftware Regex-Designer.
My sSrc is something like:
"k1 blakblak\r\nblakblak k2 blablabla k1 data3 k2 ...
-
I'd rather have a regex to split SQL statements with, but this generates problems with not splitting quoted strings as well. You would need a variable length lookbehind assertion. I'll try to match non whitespace characters instead.
If you also need to have operators like "<=" and ">=" and numbers in any ...
|
|
|