I have the following regular expression in .Net
(?<=Visitors.{0,100}?"value">)[0-9,]+(?=)
and the following text
<div class="text">Visitors</div> <div class="value">14,000,000</div>
<div class="text">VisitorsFromItaly</div> <div class="value">15,200</div>
I specify in the regex either "Visitors" or "VisitorsFromItaly" and I get the number that specific number of Visitors.
I want to do this in javascript but without using any .replace methods. I just need a plain simple javascript regex. I am new to javascript regex so I have no idea how to convert it. It says that javascript does not support lookbehind and that is the thing that is making my .Net regex working.
Any help would be appreciated. Thanks a lot in advance!!!