Loading ...
Sorry, an error occurred while loading the content.

4844Re: [NH] RegExp - Add Mask to Numbers

Expand Messages
  • Alec Burgess
    Oct 6, 2004
    • 0 Attachment
      Find: {\d\d\d}{\d\d\d}{\d\d\d\d}
      Replace: \1\-\2\-\3
      Tick Regular Expressions

      or as a clip line:
      ^!replace "{\d\d\d}{\d\d\d}{\d\d\d\d}" >> "\1\-\2\-\3" rwsa

      Regards ... Alec
      --


      ---- Original Message ----
      From: "acantley5" <acantley@...>
      To: <ntb-html@yahoogroups.com>
      Sent: Wednesday, October 06, 2004 13:32
      Subject: [gla: [NH] RegExp - Add Mask to Numbers

      > I have lists of phone numbers and want to change from
      > 1234567890 to 123-456-7890 format; each number is on a
      > separate line. Can anyone help with the appropriate
      > search and replace strings in RegExp? Thanks.
      >
      > Blessings,
      > Al Cantley
      >
      >
      >
      >
      >
      >
      >
      >
      > ------------------------ Yahoo! Groups Sponsor
      > --------------------~--> Make a clean sweep of pop-up
      > ads. Yahoo! Companion Toolbar.
      > Now with Pop-Up Blocker. Get it for free!
      > http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/CefplB/TM
      > --------------------------------------------------------------------~->
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
    • Show all 6 messages in this topic