Question: Prompt: Your task for this project is to create a simple pattern search script. This script emphasizes the importance of regular expressions and their utility

Prompt: Your 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 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. In the activity within Codio you will work on ensuring your script does 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 console. 2. 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.

I am having a hard time understanding what needs to be done. A example would help.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!