Escolar Documentos
Profissional Documentos
Cultura Documentos
Objectives
8-2
ABC
A method of
describing both
simple and complex
patterns for
searching and
manipulating
8-3
Several new
functions to
support regular
expressions
Meta Characters
Symbol
Description
^/$
8-4
[]
{m}
{m,n}
[: :]
Can have 4 different meanings: 1. Stand for itself. 2. Quote the next
character. 3. Introduce an operator. 4. Do nothing.
()
[==]
\n
Back-reference expression
[..]
8-5
Function Name
REGEXP_LIKE
Description
Similar to the LIKE operator, but performs
regular expression matching instead of
simple pattern matching
8-7
REGEXP_INSTR
REGEXP_SUBSTR
REGEXP_LIKE
REGEXP_INSTR
8-8
8-9
SELECT street_address,
REGEXP_INSTR(street_address,'[^[:alpha:]]')
FROM
locations
WHERE
REGEXP_INSTR(street_address,'[^[:alpha:]]')> 1;
8-10
8-11
Replacing Patterns
8-12
8-13
Summary
8-14
Practice 8: Overview
8-15