Wildcard Character
Learn about the wildcard character in RegEx.
Meta-characters are characters that have a special meaning, unlike literal characters.
What is a wildcard character?
You have learned about literal matching. Suppose you need to find instances of “bob”, “bot”, “box” in a text and replace them all with “boy”.
To solve this, you can write three RegEx and replace the result of each one with the required text.
But wait, for now, it is only three texts. Suppose you have ten texts that need replacing. Or 20! Or a 100! Writing a RegEx and replacing for each ...
Access this course and 1400+ top-rated courses and projects.