Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8734607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:52:35+00:00 2026-06-13T09:52:35+00:00

I have data in the form of from TextBox1 00 00 00 4E FF

  • 0

I have data in the form of from TextBox1

00 00 00 4E FF 53 4D 42 25 00 00 00 00 18 01 28  ...N.SMB%......(
00 00 00 00 00 00 00 00 00 00 00 00 00 08 12 8B  ................
01 08 7E 31 11 00 00 05 00 00 00 00 00 00 00 02  ..~1............

and I tried to change it to be like this on the result TextBox2

...N.SMB%......(
................
..~1............

I’ve tried the function *. remove but only the first row are deleted but the second line and so on are not deleted. Can anybody help me?

i use this code

string test = rtText1.Text;
rtText2.Text = test.Remove(0, 48);

and then this result rtText2

...N.SMB%......(
00 00 00 00 00 00 00 00 00 00 00 00 00 08 12 8B  ................
01 08 7E 31 11 00 00 05 00 00 00 00 00 00 00 02  ..~1............

how can I make a command “test.Remove (0, 48);” can be done on each line? or is there another function?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T09:52:36+00:00Added an answer on June 13, 2026 at 9:52 am

    It’s hard to say exactly what you need based on what you’ve posted, but a regex may work well here:

    TextBox2.Text = System.Text.RegularExpressions.Regex.Replace(
                        TextBox1.Text, 
                        @"^.{49}", 
                        "", 
                        RegexOptions.Multiline );
    

    This will simply replace the first 49 characters of each line with an empty string.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a variable that contains an array from form data, seen below: $option1
I have data coming from an external system (in CSV form). The data contains
I'm developing an ASP.NET form for data-entry. Users have to select a client from
I have a form that is capturing data sent from a google LocalSearch API.
I have a form with a DataGridView and I want to load data from
I have a form and I need to add some data from database before
I have a vb.net 2010 form with 22 data bound controls from two tables
Ok, here's the condensed form. I have three main tables to draw data from:
I have some data in this form (dictionary): Value0 Text1 Value1 Text2 Value2 Text3
I have data comming back from web service in the form of a ObservableCollection<string>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.