I would like to split this into an array<tag ref=1>Start<tag ref=2>and more</tag>and end</tag>
I can't think of any regular expressions to use in the split function and doing it character by character seems un-perl-ish. Any ideas?1. <tag ref=1> 2. Start section 3. <tag ref=2> 4. and here is more 5. </tag> 6. and here is the end 7. </tag>
In reply to Split tags and words nicely by bwgoudey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |