1

I wanted to extract an item inside a comment block like this one

<!-- stuff = 'value'; ...

the item be extracted is 'value'.

any suggestions on how I can achive that with regex in python?

Ismael
  • 19
  • 2
  • How about using regular expressions? – dhishan Dec 28 '16 at 15:57
  • It still does'nt answer my question please see it through – Ismael Dec 28 '16 at 16:12
  • you need the common pattern for `stuff =value` in all the occurrences to extract using regular expression. I do not know what beautiful soap module does. And unaware of any module which would be designed for your purpose – dhishan Dec 28 '16 at 16:20

0 Answers0