Regular Expression -match operator

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Don Jones Don Jones 2 years, 2 months ago.

  • Author
    Posts
  • #19012
    Profile photo of Mariusz Serwin
    Mariusz Serwin
    Participant

    Hi All ,

    002707+002781+002773+002737+002728+002783+002774+002741+002960+002957 – Canadian Consumer Protection (FCAC) – String .

    I'm trying to use -match operator to only match if there is only 6 DIGITS in the string above . I'm having some problems using Regular Expression , any ideas would be appreciated .

    Regards

    Mariusz

  • #19013
    Profile photo of Don Jones
    Don Jones
    Keymaster

    /d{6}

    Matches exactly 6 digits. But the string above has 60 digits. I'm not sure I understand.

You must be logged in to reply to this topic.