Regular Expression Question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?V29vIE11biBGb29uZw==?=

    #1

    Regular Expression Question

    Hi,

    I have a problem to figure out what the regular expression should I use to
    parse the following string:-

    {02}{10}{00}{03 }{10}

    and output it to:-
    0210000310

    Thank You.



  • Andrew Morton

    #2
    Re: Regular Expression Question

    Woo Mun Foong wrote:
    I have a problem to figure out what the regular expression should I
    use to parse the following string:-
    >
    {02}{10}{00}{03 }{10}
    >
    and output it to:-
    0210000310
    Have you looked at the RegEx.Replace method?

    Andrew


    Comment

    • Brian Gideon

      #3
      Re: Regular Expression Question

      On Jun 7, 2:36 am, Woo Mun Foong <m...@yahoo.com wrote:
      Hi,
      >
      I have a problem to figure out what the regular expression should I use to
      parse the following string:-
      >
      {02}{10}{00}{03 }{10}
      >
      and output it to:-
      0210000310
      >
      Thank You.
      Do you really need a regular expression for that. Why not just do a
      String.Replace on it?

      Brian

      Comment

      Working...