How to change two letters closest to a string and one letter immediately after a string using notepad++Delete all text before and after a certain stringNotepad++. How to replace different characters with corresponding letters at once?How can you change the zoom shortcut keys in Notepad++?remove a string of information after the 9th digit and before a string of set numbers that start with 31117Erase unknown string between two known strings in Notepad++how to delete all lines containing less than 3 letters before “ : ” in notepad++How to remove lines containing less than 3 letters in Email Before “@”domain in notepad++Notepad++ find and replace within a constant stringNotepad++ search and replace string with another string from the same lineHow to remove lines that not containing any uppercase letters or lowercase letters or numbers notepad++

Is there a data structure that only stores hash codes and not the actual objects?

Why do Australian milk farmers need to protest supermarkets' milk price?

Are there verbs that are neither telic, or atelic?

Bach's Toccata and Fugue in D minor breaks the "no parallel octaves" rule?

If I can solve Sudoku can I solve Travelling Salesman Problem(TSP)? If yes, how?

How Could an Airship Be Repaired Mid-Flight

How to change two letters closest to a string and one letter immediately after a string using notepad++

Python if-else code style for reduced code for rounding floats

How do anti-virus programs start at Windows boot?

Do the common programs (for example: "ls", "cat") in Linux and BSD come from the same source code?

Combining an idiom with a metonymy

Does Mathematica reuse previous computations?

Official degrees of earth’s rotation per day

Credit cards used everywhere in Singapore or Malaysia?

Employee lack of ownership

Happy pi day, everyone!

How to make healing in an exploration game interesting

Recruiter wants very extensive technical details about all of my previous work

Are ETF trackers fundamentally better than individual stocks?

Sailing the cryptic seas

Why one should not leave fingerprints on bulbs and plugs?

Is it normal that my co-workers at a fitness company criticize my food choices?

What is the significance behind "40 days" that often appears in the Bible?

Why doesn't using two cd commands in bash script execute the second command?



How to change two letters closest to a string and one letter immediately after a string using notepad++


Delete all text before and after a certain stringNotepad++. How to replace different characters with corresponding letters at once?How can you change the zoom shortcut keys in Notepad++?remove a string of information after the 9th digit and before a string of set numbers that start with 31117Erase unknown string between two known strings in Notepad++how to delete all lines containing less than 3 letters before “ : ” in notepad++How to remove lines containing less than 3 letters in Email Before “@”domain in notepad++Notepad++ find and replace within a constant stringNotepad++ search and replace string with another string from the same lineHow to remove lines that not containing any uppercase letters or lowercase letters or numbers notepad++













7















I have a list of emails,I want to change the two letters before "@" and the first letter after "@" using notepad++



For example:



username@yourdomain.com



becomes



userna**@*ourdomain.com










share|improve this question







New contributor




loveman2019 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 6





    Just an obvious remark, the concrete example you gave shows how useless this pattern would be to anonymize email addresses. It’s usually better like x******@y***.com

    – eckes
    17 hours ago











  • @eckes would that even be possible in N++?

    – WELZ
    11 hours ago






  • 2





    @WELZ Yes but its more work, a half working sample would (.)[^@]*@([^.]).*(.[a-z]+) use 3 capture groups which you can address in the replace with string: 1***@2***3 - uses a fixed number of mask characters but this is actually good.

    – eckes
    10 hours ago
















7















I have a list of emails,I want to change the two letters before "@" and the first letter after "@" using notepad++



For example:



username@yourdomain.com



becomes



userna**@*ourdomain.com










share|improve this question







New contributor




loveman2019 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 6





    Just an obvious remark, the concrete example you gave shows how useless this pattern would be to anonymize email addresses. It’s usually better like x******@y***.com

    – eckes
    17 hours ago











  • @eckes would that even be possible in N++?

    – WELZ
    11 hours ago






  • 2





    @WELZ Yes but its more work, a half working sample would (.)[^@]*@([^.]).*(.[a-z]+) use 3 capture groups which you can address in the replace with string: 1***@2***3 - uses a fixed number of mask characters but this is actually good.

    – eckes
    10 hours ago














7












7








7


2






I have a list of emails,I want to change the two letters before "@" and the first letter after "@" using notepad++



For example:



username@yourdomain.com



becomes



userna**@*ourdomain.com










share|improve this question







New contributor




loveman2019 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I have a list of emails,I want to change the two letters before "@" and the first letter after "@" using notepad++



For example:



username@yourdomain.com



becomes



userna**@*ourdomain.com







notepad++






share|improve this question







New contributor




loveman2019 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




loveman2019 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




loveman2019 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 20 hours ago









loveman2019loveman2019

393




393




New contributor




loveman2019 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





loveman2019 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






loveman2019 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 6





    Just an obvious remark, the concrete example you gave shows how useless this pattern would be to anonymize email addresses. It’s usually better like x******@y***.com

    – eckes
    17 hours ago











  • @eckes would that even be possible in N++?

    – WELZ
    11 hours ago






  • 2





    @WELZ Yes but its more work, a half working sample would (.)[^@]*@([^.]).*(.[a-z]+) use 3 capture groups which you can address in the replace with string: 1***@2***3 - uses a fixed number of mask characters but this is actually good.

    – eckes
    10 hours ago













  • 6





    Just an obvious remark, the concrete example you gave shows how useless this pattern would be to anonymize email addresses. It’s usually better like x******@y***.com

    – eckes
    17 hours ago











  • @eckes would that even be possible in N++?

    – WELZ
    11 hours ago






  • 2





    @WELZ Yes but its more work, a half working sample would (.)[^@]*@([^.]).*(.[a-z]+) use 3 capture groups which you can address in the replace with string: 1***@2***3 - uses a fixed number of mask characters but this is actually good.

    – eckes
    10 hours ago








6




6





Just an obvious remark, the concrete example you gave shows how useless this pattern would be to anonymize email addresses. It’s usually better like x******@y***.com

– eckes
17 hours ago





Just an obvious remark, the concrete example you gave shows how useless this pattern would be to anonymize email addresses. It’s usually better like x******@y***.com

– eckes
17 hours ago













@eckes would that even be possible in N++?

– WELZ
11 hours ago





@eckes would that even be possible in N++?

– WELZ
11 hours ago




2




2





@WELZ Yes but its more work, a half working sample would (.)[^@]*@([^.]).*(.[a-z]+) use 3 capture groups which you can address in the replace with string: 1***@2***3 - uses a fixed number of mask characters but this is actually good.

– eckes
10 hours ago






@WELZ Yes but its more work, a half working sample would (.)[^@]*@([^.]).*(.[a-z]+) use 3 capture groups which you can address in the replace with string: 1***@2***3 - uses a fixed number of mask characters but this is actually good.

– eckes
10 hours ago











2 Answers
2






active

oldest

votes


















27














I want to change the two letters before "@" and the first letter after "@"



  • Menu "Search" > "Replace" (or Ctrl + H)


  • Set "Find what" to ..@.


  • Set "Replace with" to **@*


  • Enable "Regular expression"



  • Click "Replace All"



    enter image description here



Before:



username@yourdomain.com


After:



userna**@*ourdomain.com



Further reading



  • How to use regular expressions in Notepad++ (tutorial)

  • Notepad++: A guide to using regular expressions and extended search mode

  • Regular Expressions Tutorial

  • RegExr: Learn, Build, & Test RegEx

  • regex101: Online regex tester and debugger

  • RegExper: Regular Expression Visualiser





share|improve this answer























  • DavidPostill thanks,it worked for me.

    – loveman2019
    20 hours ago






  • 6





    @loveman2019 Do you need more help? If this answered your question, please don't forget to accept the answer by clicking the accept button (the tick ✓ button).

    – DavidPostill
    20 hours ago


















5














You can do this by using a regex search/replace.



At the bottom, select Regular Expression.



In the Search for entry, you type in: ..@.
In the Replace with, you type in **@*



Then press the button Replace All



This works because Regex searches will only replace if its search criteria matches exactly. The match is explained as follows:



..@. There are 3 dots and an @:




  • @ has no special meaning in regex so it means a literal @.


  • . means any character, exactly once. By writing .. it means 2 characters of any kind, as long as there are 2 characters.





share|improve this answer
























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "3"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    loveman2019 is a new contributor. Be nice, and check out our Code of Conduct.









    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1414191%2fhow-to-change-two-letters-closest-to-a-string-and-one-letter-immediately-after-a%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    27














    I want to change the two letters before "@" and the first letter after "@"



    • Menu "Search" > "Replace" (or Ctrl + H)


    • Set "Find what" to ..@.


    • Set "Replace with" to **@*


    • Enable "Regular expression"



    • Click "Replace All"



      enter image description here



    Before:



    username@yourdomain.com


    After:



    userna**@*ourdomain.com



    Further reading



    • How to use regular expressions in Notepad++ (tutorial)

    • Notepad++: A guide to using regular expressions and extended search mode

    • Regular Expressions Tutorial

    • RegExr: Learn, Build, & Test RegEx

    • regex101: Online regex tester and debugger

    • RegExper: Regular Expression Visualiser





    share|improve this answer























    • DavidPostill thanks,it worked for me.

      – loveman2019
      20 hours ago






    • 6





      @loveman2019 Do you need more help? If this answered your question, please don't forget to accept the answer by clicking the accept button (the tick ✓ button).

      – DavidPostill
      20 hours ago















    27














    I want to change the two letters before "@" and the first letter after "@"



    • Menu "Search" > "Replace" (or Ctrl + H)


    • Set "Find what" to ..@.


    • Set "Replace with" to **@*


    • Enable "Regular expression"



    • Click "Replace All"



      enter image description here



    Before:



    username@yourdomain.com


    After:



    userna**@*ourdomain.com



    Further reading



    • How to use regular expressions in Notepad++ (tutorial)

    • Notepad++: A guide to using regular expressions and extended search mode

    • Regular Expressions Tutorial

    • RegExr: Learn, Build, & Test RegEx

    • regex101: Online regex tester and debugger

    • RegExper: Regular Expression Visualiser





    share|improve this answer























    • DavidPostill thanks,it worked for me.

      – loveman2019
      20 hours ago






    • 6





      @loveman2019 Do you need more help? If this answered your question, please don't forget to accept the answer by clicking the accept button (the tick ✓ button).

      – DavidPostill
      20 hours ago













    27












    27








    27







    I want to change the two letters before "@" and the first letter after "@"



    • Menu "Search" > "Replace" (or Ctrl + H)


    • Set "Find what" to ..@.


    • Set "Replace with" to **@*


    • Enable "Regular expression"



    • Click "Replace All"



      enter image description here



    Before:



    username@yourdomain.com


    After:



    userna**@*ourdomain.com



    Further reading



    • How to use regular expressions in Notepad++ (tutorial)

    • Notepad++: A guide to using regular expressions and extended search mode

    • Regular Expressions Tutorial

    • RegExr: Learn, Build, & Test RegEx

    • regex101: Online regex tester and debugger

    • RegExper: Regular Expression Visualiser





    share|improve this answer













    I want to change the two letters before "@" and the first letter after "@"



    • Menu "Search" > "Replace" (or Ctrl + H)


    • Set "Find what" to ..@.


    • Set "Replace with" to **@*


    • Enable "Regular expression"



    • Click "Replace All"



      enter image description here



    Before:



    username@yourdomain.com


    After:



    userna**@*ourdomain.com



    Further reading



    • How to use regular expressions in Notepad++ (tutorial)

    • Notepad++: A guide to using regular expressions and extended search mode

    • Regular Expressions Tutorial

    • RegExr: Learn, Build, & Test RegEx

    • regex101: Online regex tester and debugger

    • RegExper: Regular Expression Visualiser






    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered 20 hours ago









    DavidPostillDavidPostill

    107k27233267




    107k27233267












    • DavidPostill thanks,it worked for me.

      – loveman2019
      20 hours ago






    • 6





      @loveman2019 Do you need more help? If this answered your question, please don't forget to accept the answer by clicking the accept button (the tick ✓ button).

      – DavidPostill
      20 hours ago

















    • DavidPostill thanks,it worked for me.

      – loveman2019
      20 hours ago






    • 6





      @loveman2019 Do you need more help? If this answered your question, please don't forget to accept the answer by clicking the accept button (the tick ✓ button).

      – DavidPostill
      20 hours ago
















    DavidPostill thanks,it worked for me.

    – loveman2019
    20 hours ago





    DavidPostill thanks,it worked for me.

    – loveman2019
    20 hours ago




    6




    6





    @loveman2019 Do you need more help? If this answered your question, please don't forget to accept the answer by clicking the accept button (the tick ✓ button).

    – DavidPostill
    20 hours ago





    @loveman2019 Do you need more help? If this answered your question, please don't forget to accept the answer by clicking the accept button (the tick ✓ button).

    – DavidPostill
    20 hours ago













    5














    You can do this by using a regex search/replace.



    At the bottom, select Regular Expression.



    In the Search for entry, you type in: ..@.
    In the Replace with, you type in **@*



    Then press the button Replace All



    This works because Regex searches will only replace if its search criteria matches exactly. The match is explained as follows:



    ..@. There are 3 dots and an @:




    • @ has no special meaning in regex so it means a literal @.


    • . means any character, exactly once. By writing .. it means 2 characters of any kind, as long as there are 2 characters.





    share|improve this answer





























      5














      You can do this by using a regex search/replace.



      At the bottom, select Regular Expression.



      In the Search for entry, you type in: ..@.
      In the Replace with, you type in **@*



      Then press the button Replace All



      This works because Regex searches will only replace if its search criteria matches exactly. The match is explained as follows:



      ..@. There are 3 dots and an @:




      • @ has no special meaning in regex so it means a literal @.


      • . means any character, exactly once. By writing .. it means 2 characters of any kind, as long as there are 2 characters.





      share|improve this answer



























        5












        5








        5







        You can do this by using a regex search/replace.



        At the bottom, select Regular Expression.



        In the Search for entry, you type in: ..@.
        In the Replace with, you type in **@*



        Then press the button Replace All



        This works because Regex searches will only replace if its search criteria matches exactly. The match is explained as follows:



        ..@. There are 3 dots and an @:




        • @ has no special meaning in regex so it means a literal @.


        • . means any character, exactly once. By writing .. it means 2 characters of any kind, as long as there are 2 characters.





        share|improve this answer















        You can do this by using a regex search/replace.



        At the bottom, select Regular Expression.



        In the Search for entry, you type in: ..@.
        In the Replace with, you type in **@*



        Then press the button Replace All



        This works because Regex searches will only replace if its search criteria matches exactly. The match is explained as follows:



        ..@. There are 3 dots and an @:




        • @ has no special meaning in regex so it means a literal @.


        • . means any character, exactly once. By writing .. it means 2 characters of any kind, as long as there are 2 characters.






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 17 hours ago









        Ismael Miguel

        1871215




        1871215










        answered 20 hours ago









        LPChipLPChip

        36.3k55487




        36.3k55487




















            loveman2019 is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            loveman2019 is a new contributor. Be nice, and check out our Code of Conduct.












            loveman2019 is a new contributor. Be nice, and check out our Code of Conduct.











            loveman2019 is a new contributor. Be nice, and check out our Code of Conduct.














            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1414191%2fhow-to-change-two-letters-closest-to-a-string-and-one-letter-immediately-after-a%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Masuk log Menu navigasi

            Identifying “long and narrow” polygons in with PostGISlength and width of polygonWhy postgis st_overlaps reports Qgis' “avoid intersections” generated polygon as overlapping with others?Adjusting polygons to boundary and filling holesDrawing polygons with fixed area?How to remove spikes in Polygons with PostGISDeleting sliver polygons after difference operation in QGIS?Snapping boundaries in PostGISSplit polygon into parts adding attributes based on underlying polygon in QGISSplitting overlap between polygons and assign to nearest polygon using PostGIS?Expanding polygons and clipping at midpoint?Removing Intersection of Buffers in Same Layers

            Старые Смолеговицы Содержание История | География | Демография | Достопримечательности | Примечания | НавигацияHGЯOLHGЯOL41 206 832 01641 606 406 141Административно-территориальное деление Ленинградской области«Переписная оброчная книга Водской пятины 1500 года», С. 793«Карта Ингерманландии: Ивангорода, Яма, Копорья, Нотеборга», по материалам 1676 г.«Генеральная карта провинции Ингерманландии» Э. Белинга и А. Андерсина, 1704 г., составлена по материалам 1678 г.«Географический чертёж над Ижорскою землей со своими городами» Адриана Шонбека 1705 г.Новая и достоверная всей Ингерманландии ланткарта. Грав. А. Ростовцев. СПб., 1727 г.Топографическая карта Санкт-Петербургской губернии. 5-и верстка. Шуберт. 1834 г.Описание Санкт-Петербургской губернии по уездам и станамСпецкарта западной части России Ф. Ф. Шуберта. 1844 г.Алфавитный список селений по уездам и станам С.-Петербургской губернииСписки населённых мест Российской Империи, составленные и издаваемые центральным статистическим комитетом министерства внутренних дел. XXXVII. Санкт-Петербургская губерния. По состоянию на 1862 год. СПб. 1864. С. 203Материалы по статистике народного хозяйства в С.-Петербургской губернии. Вып. IX. Частновладельческое хозяйство в Ямбургском уезде. СПб, 1888, С. 146, С. 2, 7, 54Положение о гербе муниципального образования Курское сельское поселениеСправочник истории административно-территориального деления Ленинградской области.Топографическая карта Ленинградской области, квадрат О-35-23-В (Хотыницы), 1930 г.АрхивированоАдминистративно-территориальное деление Ленинградской области. — Л., 1933, С. 27, 198АрхивированоАдминистративно-экономический справочник по Ленинградской области. — Л., 1936, с. 219АрхивированоАдминистративно-территориальное деление Ленинградской области. — Л., 1966, с. 175АрхивированоАдминистративно-территориальное деление Ленинградской области. — Лениздат, 1973, С. 180АрхивированоАдминистративно-территориальное деление Ленинградской области. — Лениздат, 1990, ISBN 5-289-00612-5, С. 38АрхивированоАдминистративно-территориальное деление Ленинградской области. — СПб., 2007, с. 60АрхивированоКоряков Юрий База данных «Этно-языковой состав населённых пунктов России». Ленинградская область.Административно-территориальное деление Ленинградской области. — СПб, 1997, ISBN 5-86153-055-6, С. 41АрхивированоКультовый комплекс Старые Смолеговицы // Электронная энциклопедия ЭрмитажаПроблемы выявления, изучения и сохранения культовых комплексов с каменными крестами: по материалам работ 2016-2017 гг. в Ленинградской области