in reply to regex on gigabyte string
You might find it easier to use XML::Twig which is designed to process huge xml files.
Thanks Maybe I will test it next time around
I settled on using a substring() algorithm to parse up the $bigstring which is fast and now processing a total of upwards of 30GB in 5GB chunks.