Monday, 15 July 2013

c# - Left and Right string detection algorithm and manipulation -



c# - Left and Right string detection algorithm and manipulation -

i'm looking mechanism observe minimum , unique left , right strings of given string. consider next text:

<button id="allow" type="submit" class="button-big" name="allow" value="93db44648ab3607b10e600eaf796c794" tabindex="4">

i need value of value. if decided take substring, utilize name="allow" value=" left string , " right string (based on uniqueness on overall html data)and relative index .but tool i'm using detects unique minimum plenty left string w" value=".

my question how find this? since don't have source of tools can't observe find it.

please don't suggest me hap in c# or html libraries above html code illustration easy understanding. have other kind of data.

any c# or java snippet nice.

edit: info i'm processing non html, non standard team described stuff. , due nature needs coded in java well. hence can't think htmlagilitypack.

i want give importance minimum plenty strings rather working possibilities identify unique pattern.

from illustration above, looks you're trying parse html...

for recommend using html agility pack instead of trying yourself.

c# java regex string

No comments:

Post a Comment