|
|
Browse by Tags
All Tags » split
-
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 ...
-
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 ...
-
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 ...
|
|
|