in reply to RegExp not working!

use warnings; use strict; use re 'debug'; q{<td align="left"><b>A</b> - Tilt: 19&#176; - Segments: 1(72-93)</td> +} =~ /\<td align\=\"left\"\>\<b\>A\<\/b\>\s+\-\s+Tilt\:\s+\d+\&\#\d+\; +\s+\-\s+Segments\:\s+(.*?)\<\/td\>/; print "$1\n"; __END__ # ... snip debugging stuff ... Match successful! 1(72-93)

So maybe your input is not what you are showing (maybe it's split on two lines?).

How do I match XML, HTML, or other nasty, ugly things with a regex?