| Computer Hope Quiz #83 of 114 |
|
Oops that is incorrect. The example shown in four ($total =~ s/[0-9]+/\*//g;) is what contains an example of a regular expression. In this case the regular expression is [0-9]+ which is any number 0-9 with the + meaning any length to be replaced with an asterisk (*). Many programming languages and text editors support regular expressions that would be similar to this example. Of the 32,291 people who have answered this quiz question 9,495 have answered it correctly and 22,796 have answered it incorrectly. Based off these results this question has been given a difficulty level of hard. Next quiz question
|