Thank you so much, it works great! however it puts the Coming soon bit on a new line, is there any method of printing the results onto the same row?
Thank you!
chomp(@array) will remove newlines from the end of each element within an array. If the newline is being placed at the start of the element you may need to preprocess the the code prior to the print. The '.' now matches newlines so you have to consider this when outputting code
If really problematic, please post a new thread with example code and output. You may mean the same row once printed out in html for all I can tell.
The problem is that regexes are not a robust way to parse HTML. You may be parsing a given page correctly, but if that page ever changes, your regexes will break.