• Login
Community
  • Login

How to copy all phone numbers with a specific format

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 308 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    Marcos Miguel
    last edited by Nov 27, 2023, 1:47 AM

    Hello, everyone.

    How can I copy all phone numbers from a file with the following format?
    (xx) 9xxxx-xxxx

    Example: (11) 98887-8887

    THANK YOU.

    C 1 Reply Last reply Nov 27, 2023, 2:17 AM Reply Quote 1
    • C
      Coises @Marcos Miguel
      last edited by Nov 27, 2023, 2:17 AM

      @Marcos-Miguel said in How to copy all phone numbers with a specific format:

      How can I copy all phone numbers from a file with the following format?
      (xx) 9xxxx-xxxx

      Example: (11) 98887-8887

      Select Search | Mark… from the main menu. In the dialog, enter:

      Find what : \(\d\d\) 9\d\d\d\d-\d\d\d\d
      Search Mode: Regular expression

      then click Mark All, then click Copy Marked Text.

      That will copy each phone number matching the pattern you described to the clipboard, one per line.

      M 1 Reply Last reply Nov 27, 2023, 1:17 PM Reply Quote 5
      • M
        Marcos Miguel @Coises
        last edited by Nov 27, 2023, 1:17 PM

        @Coises THANK YOU SO MUCH!

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors