Presentation is loading. Please wait.

Presentation is loading. Please wait.

Regular Expressions. What is it 4? Text searching & replacing Sequence searching (input, DNA) Sequence Tracking Machine Operation logic machines that.

Similar presentations


Presentation on theme: "Regular Expressions. What is it 4? Text searching & replacing Sequence searching (input, DNA) Sequence Tracking Machine Operation logic machines that."— Presentation transcript:

1 Regular Expressions

2 What is it 4? Text searching & replacing Sequence searching (input, DNA) Sequence Tracking Machine Operation logic machines that are not quite computers - ex: some control circuitry

3 Why learn it? Powerful for Searching Simplistic and TIME SAVING Extremely fast Repeating characters, case control, optional character sets, alternate patterns Find multiple sub-strings

4 Why learn it? To put it on a resume Be more productive working with text documents: code, xml, databases, etc. Easy maintenance Easier to understand (than alternative) Smaller Code

5 Why learn it? Standardized (somewhat) Editors, IDEs(vi, grep, php, Eclipse) CS Concepts

6 “Regular Expression” grep patterns = “Regular Expression” Pattern matching, such as: Searching text - WILDCARDS++ Replacing parts of the found text Multiple-FILE search & replace!

7 Learning Use a Text Editor that supports RegExp or Grep Patterns (best use Perl Library: PCRE) Use the Regular Expression Play Pen webpage (class website) Experiment, make notes for future


Download ppt "Regular Expressions. What is it 4? Text searching & replacing Sequence searching (input, DNA) Sequence Tracking Machine Operation logic machines that."

Similar presentations


Ads by Google