Substitute command is without any doubt the most used command of all set commands how looks it's structure.
They can see it right now as a one letter command.
We are using that as then we have inside slashes regular expression.
If there is found something which matches regular expression it will be replaced with a replacement
which is inside another slushies.
And we can of course use some flack original or cover later.
Here we have some examples of using substitute command on output from eco commom eco command.
Output is 1 5 3 and we're putting this out both as an input into set common sense searches for button
5.
And surprisingly it finds a string containing that pattern.
And that thing is five.
So that string will be replaced by string which is in a replacement place so it will be replaced by
staying 2.
And we will see on screen printed one two three and other examples can be substitute all numbers.
It's free as that is.
So here we have output of eco commom.
Hannah is 50 years old and we are using it as an input into set common.
Wherever you are searching for all numbers and if found we are replacing it with Siri asterisks.
So from initial output Hannah is 50 years old.
We will see Hannah is asterisk asterisk asterisk ears of.
Now we can say something about most famous Fyke G.
It means globally and what it does.
You can see examples if you have for example in Bored to set the month 0 2 9 0 5 and we will substitute
command and replace the 0 zero Awam the output will be 1 2 9 0 5.
As said Burn forms by default a replacement only for first string which contains that.
But then in our case 0 but if on the other hand use g.
Like I said we'll do the replacement for all strings which contains that but.
Now let's see this substitute command in action.