I have this regex: $content =~ m/Current bid:n</font>n</td>n.+n<.+$([0-9.,]+)</ That should match for this string and place the number into $content: Current bid: </font> </td> <td width="100%"> <font face="Arial" size="2"><b>US $9.99< The problem is that it doesn't work. I don't know enough about regex to match my way out of a paper bag, so any help is welcomed.