RegEx Parsing
Overview
 Introduction
 RegEx Parsing
 How it Works
 Demo
 Advantages
 Questions

2
RegEx Parsing
 What is RegEx ?
Regular Expressions, most often known as “RegEx” is one of the most popular
and widely acc...
RegEx Parsing
 Tools used for Parsing ?
There are many tools that are used for RegEx
parsing. Some of them are :
1) Regex...
RegEx Parsing
 How it Works ?
The main thing about regular expressions that makes it so
simple and useful for all is it’s...
Metacharacters of Regular Expression
 d - Matches a digit character.
 s

- Matches any whitespace character including sp...
Demo

7
Advantages
 It is a compact way of describing sets of strings which conform to a pattern.
 The regular expression syntax...
Questions ?

Email Us @ support@zeteoconsulting.com
9
Worldwide Offices:
USA (Dallas)
India (Pune)
Partner Offices:
Monterrey (Mexico)
Frankfurt (Germany)
Stockholm (Sweden)

E...
Upcoming SlideShare
Loading in …5
×

RegEx Parsing

199
-1

Published on

Regular Expressions, most often known as “RegEx” is one of the most popular and widely accepted technology used for parsing the specific data contents from large text.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
199
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

RegEx Parsing

  1. 1. RegEx Parsing
  2. 2. Overview  Introduction  RegEx Parsing  How it Works  Demo  Advantages  Questions 2
  3. 3. RegEx Parsing  What is RegEx ? Regular Expressions, most often known as “RegEx” is one of the most popular and widely accepted technology used for parsing the specific data contents from large text. A regular expression is a specific pattern or a specific sequence of some special characters (known as “meta characters”) that gives you an ability to concisely and flexibly “match” or “capture” (specify and recognize) strings of text, such as sequence of particular characters, words, or patterns of characters.  What is RegEx Parsing ? The technique of extracting only the required data and neglecting all the other unnecessery content from the given large text with the help of Regular Expressions is nothing but "RegEx Parsing". 3
  4. 4. RegEx Parsing  Tools used for Parsing ? There are many tools that are used for RegEx parsing. Some of them are : 1) RegexBuddy 2) RegexPal 3) RegexMagic 5) RegexPlanet 6) Rubular
  5. 5. RegEx Parsing  How it Works ? The main thing about regular expressions that makes it so simple and useful for all is it’s syntax. The regular expression syntax is declarative: The pattern "looks like" what you want to match. Another most important thing that makes regular expression to spread their magic very quickly is it’s vast and powerful set of meta characters. Regular expressions are blessed with very rich and powerful set of meta characters. Each of these meta characters has its unique meaning in itself and plays an important role independently or dependently in making the regular expression more powerful.
  6. 6. Metacharacters of Regular Expression  d - Matches a digit character.  s - Matches any whitespace character including space, tab, form-feed, etc.  w - Matches any word character including underscore.  n - Matches a newline character.  * - Matches the preceding subexpression zero or more times.  + - Matches the preceding subexpression one or more times.  ? - Matches the preceding subexpression zero or one time.  [a-z] - A range of characters. Matches any character in the specified range. 6
  7. 7. Demo 7
  8. 8. Advantages  It is a compact way of describing sets of strings which conform to a pattern.  The regular expression syntax is declarative: The pattern "looks like" what you want to match.  Easily compatible with different programing languages.  Easier for non-programmers than code.  Less error prone than code.  Use in Compiler Construction. 8
  9. 9. Questions ? Email Us @ support@zeteoconsulting.com 9
  10. 10. Worldwide Offices: USA (Dallas) India (Pune) Partner Offices: Monterrey (Mexico) Frankfurt (Germany) Stockholm (Sweden) Email: support@zeteoconsulting.com Corporate URL: www.zeteoconsulting.com
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×