I need to extract the encoding charset from a web page, i found that this regex syntax can do it with different tag syntax
(?<=([<META|<meta])(.*)charset=)([^"'>]*)
In general How to make this regular expression syntax works within gsub in R
I need to extract the encoding charset from a web page, i found that this regex syntax can do it with different tag syntax
(?<=([<META|<meta])(.*)charset=)([^"'>]*)
In general How to make this regular expression syntax works within gsub in R