Hi, I hope you're enjoying the video session so far. In this video session we'll talk about finding replace, and we see its importance in the context of data cleaning. In fact, I have to start with the data which is going to illustrate how is this going to be used. For example, if I have a set of names with certain extra data with respect to their domains, their location in which they are working, for example, the first guy is Milo Salaam, he is allocated to the Asia Pac team, and the second one belongs to Latin America team. Now if you just want to delete the slash input, I don't want this part. How do I do that quickly with a help of Find and Replace, I will choose the sample data I'll press Ctrl H H for horse.
Once I do that, it says find what I will say slash I will see i n and then I will see slash closed. That means the same backstroke Now replace it what nothing when I do that replace all notice amongst the chosen data, all the three instances of slash in slash goes away, it says we have made three replacements. Now this was basic Find and Replace, which you may have used in the Word document also, but I want us to discuss is the use of wildcard character, and we'll see how much this particular wildcard character amplifies the power of mind and replace. Let's find out assume that you want to eliminate everything after the first slash including the first slash or backstroke as some people call it. Now, I noticed the common characters aren't present. For example, the first one differs from the second one in terms of suffix.
So I want to choose the data. Let's say halfway through, press Ctrl H. Now in the find words section, let me put slash forward slash poodle star mark or asterisk as it is called Sometimes now once I do that, and I see replaced with nothing, as I click on replace all notice what is going to happen? Well, it says all done we made five replacements and you notice slash onwards everything gone. So star or asterisk means it can pick up any number of character. The reason why we gave a slash before star is we did not want to eliminate the full set of characters because if I say Ctrl H and if I simply say star, it will replace all the data with nothing, which is what I did not want. So, I need to give an identifier through which Excel can identify from which character the data must be eliminated.
In fact, if I give one more example, let's say Ctrl H, and I see add three star Can you guess what is going to happen if I press the Replace All button? Yes agreat onwards, everything will be going away. So replace all there you go. This is wildcard character usage in Find and Replace. We'll see more such tricks in the next video.