Forum Moderators: coopster
codeA
*->refbrjkgbrkjgbrjukbgreukgbrukgbegurebgrek klgfhnrjkgnrjgbrejkgbrjkbegjkrbbrkegbrejb reopjgporejytopjrotjrphjpojprhjtporhtjrph codeB
*->4p3tuop43tu4optj4rofdgfnreklfnrklefnrkenr
ropeturojgorejgeolgjrelgjrlgrhelkghelghlg
regjrejgoejeojigjreilgjelgjrilgjlerjgelrj From each 'paragraph', I want to match the part under codeA and codeB
The problem I have is with matching the newline characters. I write :
preg_match('/code.{1}\n\*->(.*)\ncode./')
but it doesn't match... I think the problem is the newlines