Question: HTML and PHP using Regex 3. Write a short php script that uses preg_replace. Give the code that calls preg_replace to replace any vowel (aeiouAEIOU)
3. Write a short php script that uses preg_replace. Give the code that calls preg_replace to replace any vowel (aeiouAEIOU) in a string with a dash ( - . You should use regex101 to build the expression. Remember to enable the Substitution tool to do the replacement and then you can use the code generator tool to output the PHP code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
