Click here to Skip to main content
15,845,115 members
Home / Discussions / C#
   

C#

 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Member 105306516-Jan-17 10:04
professionalMember 105306516-Jan-17 10:04 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
OriginalGriff6-Jan-17 10:26
mveOriginalGriff6-Jan-17 10:26 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Member 105306516-Jan-17 10:59
professionalMember 105306516-Jan-17 10:59 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
OriginalGriff6-Jan-17 11:40
mveOriginalGriff6-Jan-17 11:40 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Member 105306516-Jan-17 11:49
professionalMember 105306516-Jan-17 11:49 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Dave Kreskowiak6-Jan-17 12:15
mveDave Kreskowiak6-Jan-17 12:15 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Member 105306516-Jan-17 12:29
professionalMember 105306516-Jan-17 12:29 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Dave Kreskowiak6-Jan-17 12:33
mveDave Kreskowiak6-Jan-17 12:33 
I would suggest you start using the HTML Agility Pack to make scraping a bit easier, but that's up to you.

It seems you're trying to treat the page as a large string an manipulate it as such. Instead of doing that, you might want to just grab the actual data, not the tags around them, store them as appropriate in your application data model, and then you can format the data any way you want when you present it back to the user in whatever application you're writing.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Member 105306516-Jan-17 12:37
professionalMember 105306516-Jan-17 12:37 
QuestionC# Get random object form JSON File Pin
Pavlex44-Jan-17 8:22
Pavlex44-Jan-17 8:22 
AnswerRe: C# Get random object form JSON File Pin
NotPolitcallyCorrect4-Jan-17 8:41
NotPolitcallyCorrect4-Jan-17 8:41 
GeneralRe: C# Get random object form JSON File Pin
Gerry Schmitz4-Jan-17 8:59
mveGerry Schmitz4-Jan-17 8:59 
GeneralRe: C# Get random object form JSON File Pin
NotPolitcallyCorrect4-Jan-17 9:32
NotPolitcallyCorrect4-Jan-17 9:32 
GeneralRe: C# Get random object form JSON File Pin
OriginalGriff4-Jan-17 9:11
mveOriginalGriff4-Jan-17 9:11 
GeneralRe: C# Get random object form JSON File Pin
NotPolitcallyCorrect4-Jan-17 9:27
NotPolitcallyCorrect4-Jan-17 9:27 
QuestionA Better Way? Pin
Kevin Marois4-Jan-17 6:35
professionalKevin Marois4-Jan-17 6:35 
AnswerRe: A Better Way? Pin
Eddy Vluggen4-Jan-17 8:06
professionalEddy Vluggen4-Jan-17 8:06 
AnswerRe: A Better Way? Pin
Jon McKee4-Jan-17 11:00
professionalJon McKee4-Jan-17 11:00 
AnswerRe: A Better Way? Pin
Pete O'Hanlon4-Jan-17 21:46
subeditorPete O'Hanlon4-Jan-17 21:46 
GeneralRe: A Better Way? Pin
Kevin Marois5-Jan-17 5:32
professionalKevin Marois5-Jan-17 5:32 
GeneralRe: A Better Way? Pin
Eddy Vluggen5-Jan-17 5:36
professionalEddy Vluggen5-Jan-17 5:36 
GeneralRe: A Better Way? Pin
Pete O'Hanlon5-Jan-17 7:00
subeditorPete O'Hanlon5-Jan-17 7:00 
AnswerRe: A Better Way? Pin
#realJSOP6-Jan-17 5:45
mve#realJSOP6-Jan-17 5:45 
GeneralRe: A Better Way? Pin
Kevin Marois6-Jan-17 5:47
professionalKevin Marois6-Jan-17 5:47 
QuestionC#.net:Listen to event fire on app minimize to tray Pin
hassaan mustafa4-Jan-17 4:07
hassaan mustafa4-Jan-17 4:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.