Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » split tokenize parse
  • Breaking text into parts at keywords

    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 ...
    Posted to Construction Advice (Forum) by Thomas_ on August 27, 2008
  • Re: Expression for SQL parsing

    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 ...
    Posted to Construction Advice (Forum) by eSquire on April 21, 2007