There is a text
<td class="pageHeading" align="right" valign="top">891 грн. <span class="smallText">
There is a regular expression:
var regExp=/<td class="pageHeading"\salign="right"\svalign="top">\S+/;
How to make the regular expression take into account that the search is completed on UAH. ?
Tried such a regular expression - did not work:
var regExp=/<td class="pageHeading"\salign="right"\svalign="top">\S+(грн)/
\S+
with\S+грн\.
. Even better at[^<\s]+грн\.
- Wiktor Stribiżewгрн
, at the end you can put...\S+?(?=грн)
- Alexander Lonberg