I am currently struggling to match the content of following "Types":
(Type): multiplechoice
(Category): 0
(Random answers): 0
(Question): Which of the following is true about pre-test imagery?
(Type): multiplechoice
(Category): 0
(Random answers): 1
(Question): Which of the following is not true about the TMJ?
I am trying:
preg_match_all("(Type)\:(.+?)\n", $content, $types);
But I get an unknown modifier "\" as an error message.
How can I properly match all the types? Thanks for any hints!