subject

8-2 final project script four submission: pattern search and replace scriptpart four: pattern search scriptpromptyour task for this project is to create a simple pattern search script. this script emphasizes the importance of regular expressions and their utility for searching, replacing, and managing large volumes of textual data. you will be working on this project in the project four: pattern search and replace script draft module in codio. following the directions in that module, you will also be able to determine the exact placement of the comments you will need to make in the code. follow the directions in the module in codio to walk through the activity. your script should do the following three things: 1. define a regular expression pattern to search for non-alphanumeric values in a provided paragraph and output the number of matches to the console2. define a regular expression pattern to search for a two-word sequence separated by dashes and colons and output the number of matches to the console. 3. define a regular expression pattern to replace the dashes and colons identified in the previous search. specifically, your script should address the following critical elements: i. in your script (annotated text file) refer to the directions in the module in codio for how to export out and comment your completed script. a. identify an example of the use of a search using literal characters in the script using comments in your code. b. identify an example of the use of a search for sequences and ranges in the script using comments in your code. c. identify an example of a use of search for special characters and wildcards in the script using comments in your code. ii. applying your experience making mistakes when you learn to write code is common. it is part of learning. what is important is developing the skill of learning how to understand your errors and then fix them (debugging). for this part of your final project, you will respond to the following: a) reflecting on your experience with this activity, explain the importance of knowing how and when to use a search using literal characters, for sequences and ranges, and for special characters and wildcards. support your response with examples from the activity of the types of errors and your method for fixing them.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:00
Which of the following “invisible” marks represents an inserted tab?
Answers: 1
question
Computers and Technology, 22.06.2019 22:00
Perform the following tasks: a. create a class named testclass that holds a single private integer field and a public constructor. the only statement in the constructor is one that displays the message “constructing”. write a main()function that instantiates one object of the testclass. save the file as testclass.cpp in the chapter 08 folder. run the program and observe the results. b. write another main()function that instantiates an array of 10 testclass objects. save the file as test class array.c . run this program and observe the results.
Answers: 1
question
Computers and Technology, 23.06.2019 11:30
The most accurate readings that you can take on an analog vom are when the meter's pointer is at the a. center scale. b. extreme right. c. near right. d. extreme left.
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
2. fluorine and chlorine molecules are blamed fora trapping the sun's energyob forming acid rainoc producing smogod destroying ozone molecules
Answers: 2
You know the right answer?
8-2 final project script four submission: pattern search and replace scriptpart four: pattern sear...
Questions
question
English, 20.12.2020 08:30