#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2016
    Posts
    6
    Rep Power
    0

    Question Expression for exact string with 10 digits


    Hi,

    Need a little help. I'm trying to find the expression I can use in notepad++ that will search for any number string with a format of:

    1234567891

    and replace with null.

    But it should not effect any string that looks like this:

    (123) 456-7891

    I've tried a few options but they just keep deleting other strings throughout my file.

    Any help is appreciated.

    Thanks,
    Ryan.
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2016
    Posts
    6
    Rep Power
    0

    Thumbs up Solved


    Not sure why this didn't work earlier but ([0-9]{10}), works fine.

    Mark Solved.

IMN logo majestic logo threadwatch logo seochat tools logo