S
superlurker
Guest
This is the problem i am having.
using (WebClient client = new WebClient())
{
client.CachePolicy = new System.Net.Cache.RequestCachePolicy(System.Net.Cache.RequestCacheLevel.NoCacheNoStore);
try
{
try
{
byte[] store = client.DownloadData(StateWebLocation);
string Data = System.Text.Encoding.UTF8.GetString(store);
-------------------------------------------------------------------------------------------------------------
<div class="c-model-group js-model-group ">
<div class="c-model-group__numbers">
<span class="c-model js-model c-model--outline">
1
</span>
<span class="c-model js-model c-model--outline">
2
</span>
<span class="c-model js-model c-model--outline">
3
</span>
</div>
</div>
--------------------------------------------------------------------------------------------------------------
What i need to is match all occurrences of the string group between the lines above in the big Data string, even if 1 or 2 or 3 is different and load them in one string.
Then i could filter it with Regex.Replace(t, "[^.0-9]", "") to get the model number..
little lost on how to grab the data the correct way.. any ideas ?
Thanks
Continue reading...
using (WebClient client = new WebClient())
{
client.CachePolicy = new System.Net.Cache.RequestCachePolicy(System.Net.Cache.RequestCacheLevel.NoCacheNoStore);
try
{
try
{
byte[] store = client.DownloadData(StateWebLocation);
string Data = System.Text.Encoding.UTF8.GetString(store);
-------------------------------------------------------------------------------------------------------------
<div class="c-model-group js-model-group ">
<div class="c-model-group__numbers">
<span class="c-model js-model c-model--outline">
1
</span>
<span class="c-model js-model c-model--outline">
2
</span>
<span class="c-model js-model c-model--outline">
3
</span>
</div>
</div>
--------------------------------------------------------------------------------------------------------------
What i need to is match all occurrences of the string group between the lines above in the big Data string, even if 1 or 2 or 3 is different and load them in one string.
Then i could filter it with Regex.Replace(t, "[^.0-9]", "") to get the model number..
little lost on how to grab the data the correct way.. any ideas ?
Thanks
Continue reading...