In the code below, there is a function called matchTheWord that takes a word string as an argument. Create a regex to match this word if it contains the pattern tion.
You don't need to call the function; just return the result.
In the code below, there is a function called matchTheWord that takes a word string as an argument. Create a regex to match this word if it contains the pattern tion.
You don't need to call the function; just return the result.
Sample Input 1:
predictionSample Output 1:
trueCreate a free account to access the full topic