| instring | search pattern | replace pattern | Explanation |
| How are you? | how are you | I'm fine | no match possible |
| How are you? | how are you | I'm fine | using ignore, watch the question mark |
| abracadabra | a | A | using global |
| instring | search pattern | replace pattern | Explanation |
| 7^(1/2) | \^ | ** | notice the escape |