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
  • How to split a string but ignore what is inside parenthesis?

    I want to parse a text file (m-script) and split into its commands. It should split using the four characters ' " \r \n but ignore what is inside the parenthesis. An example string: string = "output1=function1(a,b),output2=function2(c,d); output3function3("hello") output4=function4(e;f);" This string should ...
    Posted to Construction Advice (Forum) by anders on March 13, 2010
  • Split SQL INSERT statement

    Hello I have to parse a SQL INSERT statement to get all the values to include in the database. I thought that a regex should exist to do this, and I found this very nice regex (http://regexlib.com/REDetails.aspx?regexp_id=1750) : (INSERT ...
    Posted to Construction Advice (Forum) by Flexx on September 27, 2007
  • Reading a log file

    I am trying to extract the entries from a log file using a regular expression.  What I have at present works fine when each entry is on a single line, however an entry may occasionally span multiple lines. Each entry begins with the date, time and type e.g.12-Jul-2007 03:34:51 INFO  - Finished Loading Fixings 12-Jul-2007 03:34:51 ...
    Posted to Construction Advice (Forum) by ubsjames on July 31, 2007