Results 1 to 2 of 2

Thread: Parsing a String using Regular Expressions

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2003
    Posts
    376

    Parsing a String using Regular Expressions

    Parsing a String using Regular Expressions


    Gentlemen:


    I have this kind of strings coming from the RS232 port into a RichTextBox1. I'm only interested in the numbers right after the equal sign "="

    I need to extract this numbers in the same line order shown and place the value into textboxes, each value will go into its own textbox

    (there are 110 lines in the final rs232 file). Any idea? I'm using VBNet 2003.

    Thanks everyone.

    Rs232 file

    Sel. 1
    Pago = 119
    Libre = 0
    Test = 0
    Desc.= 0
    Sel. 2
    Pago = 9
    Libre = 0
    Test = 0
    Desc.= 0
    Sel. 3
    Pago = 322
    Libre = 0
    Test = 0
    Desc.= 0

  2. #2
    PowerPoster
    Join Date
    Aug 2001
    Location
    new jersey
    Posts
    2,904
    VB.NET questions are best posted in the VB.NET forum, not here.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width