Question: Processing (learning from) unformatted data using RegEx Sometimes this is done for nefarious purposes; mining the internet for email addresses to be used in spamming,

Processing (learning from) unformatted data using RegEx

Sometimes this is done for nefarious purposes; mining the internet for email addresses to be used in spamming, or worse. But it has many useful purposes. Text that represents data, but not easily accessible information. Getting information from data that isnt in an accessible database format is a valuable skill.

In this exercise you will read a text file called ValenciaCourses.txt, and process each line with a RegEx.

Write into an output file the courses that have a lab component that is more than 3 hours. Here is an example of a class that has 2 credit hours, no classroom hours, and 6 lab hours:

CVT 1840L 2 0 6

Your file will include all of the courses with more than 3 lab hours, and a count of the number of classes that have more than 3 hours of Lab.

Post the courses that you found, and the number of them (not your code).

Include the courses and the number of courses that you found in your assignment submission.

This assignment is a Java programming excersice on RegEx using eclipse. The assignement details are below. The professor gave us a link (though it's restricted to only students) to the full text of courses but it's too large to input into eclipse by hand so I'm not sure how to input it to look for the patterns.

A snippet of the given valencia courses are:

ARCHITECTURAL STRUCTURES I  Prerequisites: ARC 2303; and MAC 2233 or MAC 2311; and PHY 1053C This course covers principles of statics and strengths of materials; structural mechanics and the effects of loads and loading on building elements and frames. Topics include stress and deformation, properties of sections, gravity loads, shear and bending in beams, and stresses in columns, with focus on analysis and design of wood structural systems. ARC 2702 3 3 0 HISTORY OF ARCHITECTURE II  Prerequisite: ARC 1701 This introductory course provides a general survey of the cultural, aesthetic and socio-political influences which have affected and shaped architecture from the beginning of the eighteenth century to the present. Art ART 1201C 3 3 3 DESIGN I Introduction to studio art through analytical use of elements and principles of two-dimensional design and color theory. (Special Fee: $25.00) ART 1203C 3 3 3 DESIGN II  Prerequisite: ART 1201C Continuation of ART 1201C through study of visual elements and principles and their application in three-dimensional form and color theory. (Special Fee: $21.00) Course Cr Cls Lab Course Cr Cls Lab Architecture Art 226 ART 1300C 3 3 3 DRAWING I (Was ART 1301C in 1977-78 through 2001-02) Introduction to basic skills, concepts, methods, and tools. Emphasis on increasing powers of visual observation and drawing from life. (Special Fee: $25.00) ART 1301C (Formerly ART 1376C, ART 1302C) 3 3 3 DRAWING II  Prerequisite: ART 1300C Continuation of ART 1300C with emphasis on further development of technique and articulation of space, volume, mass, tonal value, and composition. (Special Fee: $25.00) ART 2330C 3 2 4 

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!