Update: Ignore this post, i was reading the requirement the wrong way around.
While this does not really answer the question asked: If the example data matches your real-life data, you might try XML::Simple, since your data looks very much like XML.
BREW /very/strong/coffee HTTP/1.1 Host: goodmorning.example.com 418 I'm a teapot
In reply to Re: split function using multiple delimiters
by cavac
in thread split function using multiple delimiters
by maha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |