python session 12

Post on 24-Jun-2015

58 Views

Category:

Education

3 Downloads

Preview:

Click to see full reader

TRANSCRIPT

WELCOME TO PYTHON SESSION 12WELCOME TO PYTHON SESSION 12

AGENDA

Regular Expression

What is Regex.

What is the uses of Regex in python.

What is Regex?

A regular expression is a special sequence of characters that helps you match or find other strings or sets of strings,using a specialized syntax held in a pattern..

Regular expressions are widely used in UNIX world.

We would cover two important functions, which would be used to handle regular expressions.

1. Match Function

2. Search Function

Regex

Regex Module

Regex Search

Regex Search

Row 1 Row 2 Row 3 Row 40

2

4

6

8

10

12

Column 1

Column 2

Column 3

THANK YOU

Reference

Reference Link:

http://www.tutorialspoint.com/python/python_reg_expressions.htm

top related