c# - Find strings in string based on condition -


working on migration project legacy intranet new one

i need cleanse html , it's going pretty stuck on 1 thing

have string (dynamic html):

armenu1 = new array( "management team","href="http://sites/get?&p131" )  armenu2 = new array( "ipads","href="http://sites/get?&page391" "remote access services","href="http://sites/get?&p375" )  armenu2_1 = new array( "tips , bits","href="http://sites/get?&p395 )  armenu2_3 = new array( "worldmate blackberry","href="http://sites/get?&p265" )  armenu3 = new array( "overview","href="http://sites/get?&p434" "outlook 2010","href="http://sites/get?p430" )  armenu3_3 = new array( "excel 2010","href="http://sites/get?&p451" ) 

i have variable navnodepopupid + "_" , need to menu items in array containing armenu2_*

to extract navigation use

`string navnodes = html.split(new string[] { "<!-- navigation start -->" }, stringsplitoptions.none)[1]         .split(new string[] { "<!-- navigation end -->" }, stringsplitoptions.none)[0]; 

but gives me first item finds , need combine armenu2_1 armenu2_3 string or array (can rest of work later)

any ideas?

thanks in advance.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -