Convert HTML Text in StringAmit Kumar10yAsked Apr 28, 2016, 11:10 PM EDT6 answersShareLinkedInXCopy linkSaveHow to convert HTML text inside Textbox into string..
Convert HTML Text in StringAmit Kumar10yAsked Apr 28, 2016, 11:10 PM EDT6 answersShareLinkedInXCopy linkSaveHow to convert HTML text inside Textbox into string..
Manas MohapatraRank #182 · 13.2K reputation10y agoPosted Apr 28, 2016, 11:27 PM EDT0Please provide an example what you want exactly..0
Amit KumarRank #459 · 5.4K reputation10y agoPosted Apr 29, 2016, 1:42 AM EDT0 If I have enter inside textbox and i want to get it on code behind RRRR0
Manas MohapatraRank #182 · 13.2K reputation10y agoPosted Apr 29, 2016, 2:04 AM EDT0Do you want like below: In code-behind protected void Button1_Click(object sender, EventArgs e){ txt.Text = lbl.Text;} 0
Rajeesh MenothRank #118 · 18.4K reputation10y agoPosted Apr 29, 2016, 2:23 AM EDT0Hi, This is a very basic things you want to know for studying .Net.Check the @Manas solution. Example : Html : <asp:Label ID="lbl" runat="server" Text="RRRR">asp:Label> <asp:TextBox ID="txt_Name" runat="server">asp:TextBox> C# : In page load our any other event you can assign this value. protected void Page_Load(object sender, EventArgs e) { txt_Name.Text = lbl.Text;// Assign label value to text box } 0ATali tuncerRank #1,499 · 1.1K reputation10y agoPosted Apr 29, 2016, 2:30 AM EDT0 try this :Regex regex = new Regex(@"(?<=\bText=')[^']*");string test = regex.Match(input).Value;0Munesh SharmaRank #174 · 13.9K reputation10y agoPosted May 2, 2016, 9:54 AM EDT0http://stackoverflow.com/questions/286813/how-do-you-convert-html-to-plain-text0Join to answer this questionEvery answer you publish earns 20 SHARP.Create free accountSign inKnow the answer?Answer a question in the forums and earn +20 SHARP for every answer.See unanswered questionsForumsTop experts01Arun PottiAnswers in the forums20answers02Tahir AnsariAnswers in the forums5answers03Kamlesh KumarAnswers in the forums5answers04Sam HobbsAnswers in the forums4answers05Željko PerićAnswers in the forums3answers?YouYour name goes here.Every answer: 20 SHARP.JoinFull leaderboard →2026DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
ATali tuncerRank #1,499 · 1.1K reputation10y agoPosted Apr 29, 2016, 2:30 AM EDT0 try this :Regex regex = new Regex(@"(?<=\bText=')[^']*");string test = regex.Match(input).Value;0
Munesh SharmaRank #174 · 13.9K reputation10y agoPosted May 2, 2016, 9:54 AM EDT0http://stackoverflow.com/questions/286813/how-do-you-convert-html-to-plain-text0
Manas MohapatraRank #182 · 13.2K reputationPosted Apr 28, 2016, 11:27 PM EDT
Amit KumarRank #459 · 5.4K reputationPosted Apr 29, 2016, 1:42 AM EDT
Manas MohapatraRank #182 · 13.2K reputationPosted Apr 29, 2016, 2:04 AM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Apr 29, 2016, 2:23 AM EDT
ali tuncerRank #1,499 · 1.1K reputationPosted Apr 29, 2016, 2:30 AM EDT
try this :
Regex regex = new Regex(@"(?<=\bText=')[^']*");
string test = regex.Match(input).Value;
Munesh SharmaRank #174 · 13.9K reputationPosted May 2, 2016, 9:54 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts