Il 29/12/2014 06.28, Bob Meliev ha scritto:
Hi,How I can match multiple empty lines? I have response: <th class="price"><strong id="total" class="totals"> $304.32 </strong></th> I need to get 304.32 but got stuck after > character. Using this pattern d="total" class="totals">\n Thanks in advance.
You have to switch to single line mode and remember to escape the '$'. The final result should be something like: (?s)id="total" class="totals">.*?\$([\d\.]*) regards -- Ing. Sergio Boso --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
