Search and Replace Text Using Regular Expressions in Notepad++

preview_player
Показать описание
Demonstration of using Notepad++ to search and replace text via Regular Expression.

This example uses an XML formatted file where we want to remove all instances of a particular XML element/tag regardless of the XML element's content/value.
Рекомендации по теме
Комментарии
Автор

Thanks so much. This was a life safer for me. I was searching for quite a while for a simple answer to how to do this. The other places I found had insanely complicated expressions which I couldnt get to operate, but this worked like a charm.

dougfranckwolf
Автор

finally, im noob with this program, im doing basic things, due that i dont know tricks like this one, that i really wanted to use MANY times, and finally i decided to find out and fix it.
Thanks to your video i know control + h function! :D

Espinete
Автор

I have a list of english verbs, and i want Google translate to translate them to another language, but the translation takes places incorrectly because, it considers some of them to be "Nouns" so
I want to put "to" in front of each of them to indicate that they are verbs.
How do i do that?

ichkerim
Автор

Thank you, you saved me a lot of time.
Can you also tell me if i'm searching for dates like YYYY.MM.DD  > 1756.12.6
and i want to search and replace Y***.**.** where * is what I want to replace.
The expression will be Find:

Now this solves most of my problem but what about when the date is 1756.4.6
How do I make an expression that can search for both YYYY.MM.DD pattern and also YYYY.M.D pattern.

monishm
Автор

WWhat if the values are like 0.523532525, 0.523252, 0.112523 etc . Can it also find them and replace ?

raoulraoul
Автор

hi bro .. i want to remplace word + variable with a word

up