Member Avatar for gowans07

Hi,

i'm trying to get the following data from within the html tages
<td class="colRight">CWCH60</td>
where CWCH60 is the data which changes and needs to be extracted. I have tried the following Regex patterns
[^td|<|>|/|class|\s|^="colRight"][A-Z|a-z|0-9][^</td>]
[^<td][^\s][^class][^="colRight">][A-Z|a-z|0-9]
[^</td>]
[^td\sclass=""colRight">][A-Z][a-z][0-9]

all work fine in an online regex builder/tester but return WCH60 when executed. Why would this occur, is there a simple operator i have missed out?
Cheers in advance

Member Avatar for gowans07

Solution found: I had set Regex.IgnoreCase enabled

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.