Abdullah Zafar

Abdullah Zafar

  • NA
  • 4
  • 3.2k

c#, Regex

Feb 5 2014 6:06 AM

Regex regExpPrice = new Regex("<div class=\"price\">\r\n (.*?)<\\/div>");
Regex regExpPrice = new Regex("<div class=\"price\">\r\n \\d.*(?=\\()<\\/div>");
i am scrapping a web site, and want to remove comma (,) in price.. I tried both.for example 1,300 => 1300(required)
how can i do that using regex..

Answers (1)