Problem:
Using php, I need to create an array with all the matches of the strings starting with the word "INSERT" and end with the ";".
Now, since im new to all this, i thinking I need to use the preg_split() right? Or is something better then this?
Tried using something like this but is not working... probably don't have the right understanding of how it works yet.
Code: Select all
/CREATE.*;$/