sabbatical!
New Member
Would somebody care to help me out with a \[code\]preg_match_all\[/code\] Regex?I need to extract from a block that looks like this:\[code\](arbitrary data)alt=BAUSTEIN^550^^transparent^transparent^null^null^(...base64 encoded data...) ^(arbitrary data)alt=BAUSTEIN^550^^transparent^transparent^null^null^(...base64 encoded data...) ^\[/code\]all base64 encoded blocks. The rule is: There is always \[code\]alt=BAUSTEIN\[/code\] followed by six columns of arbitrary data delimited by \[code\]^\[/code\]. The base64 encoded column is also delimited by \[code\]^\[/code\]my current feeble attempt contains a lot of \[code\]([^\^].*)\[/code\] and won't match anything. Pointers much appreciated.