Click here to Skip to main content
15,905,508 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 9:04
professionalMember 105306516-Jan-17 9:04 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
OriginalGriff6-Jan-17 9:26
mveOriginalGriff6-Jan-17 9:26 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Member 105306516-Jan-17 9:59
professionalMember 105306516-Jan-17 9:59 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
OriginalGriff6-Jan-17 10:40
mveOriginalGriff6-Jan-17 10:40 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Member 105306516-Jan-17 10:49
professionalMember 105306516-Jan-17 10:49 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Dave Kreskowiak6-Jan-17 11:15
mveDave Kreskowiak6-Jan-17 11:15 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Member 105306516-Jan-17 11:29
professionalMember 105306516-Jan-17 11:29 
GeneralRe: I want to replace number in two tag to double with regex in a file txt Pin
Dave Kreskowiak6-Jan-17 11:33
mveDave Kreskowiak6-Jan-17 11: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 11:37
professionalMember 105306516-Jan-17 11:37 
QuestionC# Get random object form JSON File Pin
Pavlex44-Jan-17 7:22
Pavlex44-Jan-17 7:22 
AnswerRe: C# Get random object form JSON File Pin
NotPolitcallyCorrect4-Jan-17 7:41
NotPolitcallyCorrect4-Jan-17 7:41 
GeneralRe: C# Get random object form JSON File Pin
Gerry Schmitz4-Jan-17 7:59
mveGerry Schmitz4-Jan-17 7:59 
GeneralRe: C# Get random object form JSON File Pin
NotPolitcallyCorrect4-Jan-17 8:32
NotPolitcallyCorrect4-Jan-17 8:32 
GeneralRe: C# Get random object form JSON File Pin
OriginalGriff4-Jan-17 8:11
mveOriginalGriff4-Jan-17 8:11 
GeneralRe: C# Get random object form JSON File Pin
NotPolitcallyCorrect4-Jan-17 8:27
NotPolitcallyCorrect4-Jan-17 8:27 
QuestionA Better Way? Pin
Kevin Marois4-Jan-17 5:35
professionalKevin Marois4-Jan-17 5:35 
AnswerRe: A Better Way? Pin
Eddy Vluggen4-Jan-17 7:06
professionalEddy Vluggen4-Jan-17 7:06 
AnswerRe: A Better Way? Pin
Jon McKee4-Jan-17 10:00
professionalJon McKee4-Jan-17 10:00 
AnswerRe: A Better Way? Pin
Pete O'Hanlon4-Jan-17 20:46
mvePete O'Hanlon4-Jan-17 20:46 
GeneralRe: A Better Way? Pin
Kevin Marois5-Jan-17 4:32
professionalKevin Marois5-Jan-17 4:32 
GeneralRe: A Better Way? Pin
Eddy Vluggen5-Jan-17 4:36
professionalEddy Vluggen5-Jan-17 4:36 
GeneralRe: A Better Way? Pin
Pete O'Hanlon5-Jan-17 6:00
mvePete O'Hanlon5-Jan-17 6:00 
AnswerRe: A Better Way? Pin
#realJSOP6-Jan-17 4:45
professional#realJSOP6-Jan-17 4:45 
GeneralRe: A Better Way? Pin
Kevin Marois6-Jan-17 4:47
professionalKevin Marois6-Jan-17 4:47 
QuestionC#.net:Listen to event fire on app minimize to tray Pin
hassaan mustafa4-Jan-17 3:07
hassaan mustafa4-Jan-17 3: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.