SlideShare una empresa de Scribd logo
1 de 10
Strings And Patterns Orlando PHP Meetup Zend Certification Training April 2009
3 Ways to Make Strings ,[object Object],[object Object],[object Object],[object Object],[object Object]
String Functions ,[object Object],[object Object],[object Object],[object Object]
Searching ,[object Object],[object Object],[object Object],[object Object],[object Object]
Replacing ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Formatting ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Perl Regular Expressions ,[object Object],[object Object],Character class. Ex: [a-zA-z0-9] [] Word (a-z or underline)  Digit. Equal to [0-9]  Whitespace (space, tab)  is non-whitespace  End of line $ Beginning of line ^ Any character except newline .
Regular Expressions 2 ,[object Object],[object Object],[object Object],[object Object],[object Object],Match the pattern between minimum and maximum times. {min,max} Zero or one time ? One or more times + Zero or more times *
Regular Expression Functions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Summary ,[object Object],[object Object],[object Object],[object Object],[object Object]

Más contenido relacionado

La actualidad más candente

Regular Expressions 101
Regular Expressions 101Regular Expressions 101
Regular Expressions 101
Raj Rajandran
 
Regular expressions
Regular expressionsRegular expressions
Regular expressions
Raj Gupta
 
Eloquent Ruby chapter 4 - Find The Right String with Regular Expression
Eloquent Ruby chapter 4 - Find The Right String with Regular ExpressionEloquent Ruby chapter 4 - Find The Right String with Regular Expression
Eloquent Ruby chapter 4 - Find The Right String with Regular Expression
Kuyseng Chhoeun
 
Regular Expressions grep and egrep
Regular Expressions grep and egrepRegular Expressions grep and egrep
Regular Expressions grep and egrep
Tri Truong
 
The Power of Regular Expression: use in notepad++
The Power of Regular Expression: use in notepad++The Power of Regular Expression: use in notepad++
The Power of Regular Expression: use in notepad++
Anjesh Tuladhar
 
Regular Expression
Regular ExpressionRegular Expression
Regular Expression
Bharat17485
 
PERL Regular Expression
PERL Regular ExpressionPERL Regular Expression
PERL Regular Expression
Binsent Ribera
 
Regex Presentation
Regex PresentationRegex Presentation
Regex Presentation
arnolambert
 

La actualidad más candente (20)

Andrei's Regex Clinic
Andrei's Regex ClinicAndrei's Regex Clinic
Andrei's Regex Clinic
 
Regular Expressions 101
Regular Expressions 101Regular Expressions 101
Regular Expressions 101
 
Introduction to Regular Expressions
Introduction to Regular ExpressionsIntroduction to Regular Expressions
Introduction to Regular Expressions
 
Introduction to regular expressions
Introduction to regular expressionsIntroduction to regular expressions
Introduction to regular expressions
 
Regular expressions
Regular expressionsRegular expressions
Regular expressions
 
Regular Expression
Regular ExpressionRegular Expression
Regular Expression
 
Regular expressions in Ruby and Introduction to Vim
Regular expressions in Ruby and Introduction to VimRegular expressions in Ruby and Introduction to Vim
Regular expressions in Ruby and Introduction to Vim
 
Regular Expressions in PHP
Regular Expressions in PHPRegular Expressions in PHP
Regular Expressions in PHP
 
3.2 javascript regex
3.2 javascript regex3.2 javascript regex
3.2 javascript regex
 
Regular Expression
Regular ExpressionRegular Expression
Regular Expression
 
Eloquent Ruby chapter 4 - Find The Right String with Regular Expression
Eloquent Ruby chapter 4 - Find The Right String with Regular ExpressionEloquent Ruby chapter 4 - Find The Right String with Regular Expression
Eloquent Ruby chapter 4 - Find The Right String with Regular Expression
 
Regular Expressions grep and egrep
Regular Expressions grep and egrepRegular Expressions grep and egrep
Regular Expressions grep and egrep
 
The Power of Regular Expression: use in notepad++
The Power of Regular Expression: use in notepad++The Power of Regular Expression: use in notepad++
The Power of Regular Expression: use in notepad++
 
Regular Expressions 101 Introduction to Regular Expressions
Regular Expressions 101 Introduction to Regular ExpressionsRegular Expressions 101 Introduction to Regular Expressions
Regular Expressions 101 Introduction to Regular Expressions
 
Regular Expressions
Regular ExpressionsRegular Expressions
Regular Expressions
 
Regular Expression
Regular ExpressionRegular Expression
Regular Expression
 
Regular Expressions in PHP, MySQL by programmerblog.net
Regular Expressions in PHP, MySQL by programmerblog.netRegular Expressions in PHP, MySQL by programmerblog.net
Regular Expressions in PHP, MySQL by programmerblog.net
 
Ruby_Basic
Ruby_BasicRuby_Basic
Ruby_Basic
 
PERL Regular Expression
PERL Regular ExpressionPERL Regular Expression
PERL Regular Expression
 
Regex Presentation
Regex PresentationRegex Presentation
Regex Presentation
 

Destacado

Reduced Merge_FSM Pattern Matching Algorithm for Network Intrusion Detection
Reduced Merge_FSM Pattern Matching Algorithm for Network Intrusion DetectionReduced Merge_FSM Pattern Matching Algorithm for Network Intrusion Detection
Reduced Merge_FSM Pattern Matching Algorithm for Network Intrusion Detection
idescitation
 
IMPLEMENTATION OF DIFFERENT PATTERN RECOGNITION ALGORITHM
IMPLEMENTATION OF DIFFERENT PATTERN RECOGNITION  ALGORITHM  IMPLEMENTATION OF DIFFERENT PATTERN RECOGNITION  ALGORITHM
IMPLEMENTATION OF DIFFERENT PATTERN RECOGNITION ALGORITHM
NETAJI SUBHASH ENGINEERING COLLEGE , KOLKATA
 
Pattern matching
Pattern matchingPattern matching
Pattern matching
shravs_188
 
O patrimonio desaparecido. A Coruña
O patrimonio desaparecido. A CoruñaO patrimonio desaparecido. A Coruña
O patrimonio desaparecido. A Coruña
lfgasalla
 
Winning strategies for paid search marketing
Winning strategies for paid search marketingWinning strategies for paid search marketing
Winning strategies for paid search marketing
Incubeta NMPi
 
2tionplus - the social network Educational program for collaborative learning.
2tionplus - the social network Educational program for collaborative learning.2tionplus - the social network Educational program for collaborative learning.
2tionplus - the social network Educational program for collaborative learning.
Sujai.G Pillai
 
Diversity of cell life end of ch7
Diversity of cell life end of ch7Diversity of cell life end of ch7
Diversity of cell life end of ch7
Maria Donohue
 
Scientific method ppt
Scientific method pptScientific method ppt
Scientific method ppt
Maria Donohue
 

Destacado (20)

Reduced Merge_FSM Pattern Matching Algorithm for Network Intrusion Detection
Reduced Merge_FSM Pattern Matching Algorithm for Network Intrusion DetectionReduced Merge_FSM Pattern Matching Algorithm for Network Intrusion Detection
Reduced Merge_FSM Pattern Matching Algorithm for Network Intrusion Detection
 
Ids(final)
Ids(final)Ids(final)
Ids(final)
 
Chpt9 patternmatching
Chpt9 patternmatchingChpt9 patternmatching
Chpt9 patternmatching
 
IMPLEMENTATION OF DIFFERENT PATTERN RECOGNITION ALGORITHM
IMPLEMENTATION OF DIFFERENT PATTERN RECOGNITION  ALGORITHM  IMPLEMENTATION OF DIFFERENT PATTERN RECOGNITION  ALGORITHM
IMPLEMENTATION OF DIFFERENT PATTERN RECOGNITION ALGORITHM
 
KMP Pattern Matching algorithm
KMP Pattern Matching algorithmKMP Pattern Matching algorithm
KMP Pattern Matching algorithm
 
Pattern matching
Pattern matchingPattern matching
Pattern matching
 
O patrimonio desaparecido. A Coruña
O patrimonio desaparecido. A CoruñaO patrimonio desaparecido. A Coruña
O patrimonio desaparecido. A Coruña
 
Ecosystems
EcosystemsEcosystems
Ecosystems
 
SES 2014 Smart Remarketing presentation from Net Media Planet
SES 2014 Smart Remarketing presentation from Net Media PlanetSES 2014 Smart Remarketing presentation from Net Media Planet
SES 2014 Smart Remarketing presentation from Net Media Planet
 
Meiosis
MeiosisMeiosis
Meiosis
 
Cision Social Journalism-Studie 2013/14 - Ergebnisse für Großbritannien
Cision Social Journalism-Studie 2013/14 - Ergebnisse für GroßbritannienCision Social Journalism-Studie 2013/14 - Ergebnisse für Großbritannien
Cision Social Journalism-Studie 2013/14 - Ergebnisse für Großbritannien
 
Proven Strategies - Earn more ROI for your Paid Search Campaigns - iGaming Lo...
Proven Strategies - Earn more ROI for your Paid Search Campaigns - iGaming Lo...Proven Strategies - Earn more ROI for your Paid Search Campaigns - iGaming Lo...
Proven Strategies - Earn more ROI for your Paid Search Campaigns - iGaming Lo...
 
Winning strategies for paid search marketing
Winning strategies for paid search marketingWinning strategies for paid search marketing
Winning strategies for paid search marketing
 
Enzymes
EnzymesEnzymes
Enzymes
 
Finding Firms With A Future
Finding Firms With A FutureFinding Firms With A Future
Finding Firms With A Future
 
2tionplus - the social network Educational program for collaborative learning.
2tionplus - the social network Educational program for collaborative learning.2tionplus - the social network Educational program for collaborative learning.
2tionplus - the social network Educational program for collaborative learning.
 
Diversity of cell life end of ch7
Diversity of cell life end of ch7Diversity of cell life end of ch7
Diversity of cell life end of ch7
 
Scientific method ppt
Scientific method pptScientific method ppt
Scientific method ppt
 
PHP socialmedia training 2_28_11
PHP socialmedia training 2_28_11PHP socialmedia training 2_28_11
PHP socialmedia training 2_28_11
 
A Guide to Goal Setting (2014)
A Guide to Goal Setting (2014)A Guide to Goal Setting (2014)
A Guide to Goal Setting (2014)
 

Similar a Php Chapter 4 Training

Introduction to Perl
Introduction to PerlIntroduction to Perl
Introduction to Perl
Sway Wang
 
Perl Intro 5 Regex Matches And Substitutions
Perl Intro 5 Regex Matches And SubstitutionsPerl Intro 5 Regex Matches And Substitutions
Perl Intro 5 Regex Matches And Substitutions
Shaun Griffith
 
Javascript正则表达式
Javascript正则表达式Javascript正则表达式
Javascript正则表达式
ji guang
 

Similar a Php Chapter 4 Training (20)

Class 5 - PHP Strings
Class 5 - PHP StringsClass 5 - PHP Strings
Class 5 - PHP Strings
 
Working with text, Regular expressions
Working with text, Regular expressionsWorking with text, Regular expressions
Working with text, Regular expressions
 
Bioinformatics p2-p3-perl-regexes v2014
Bioinformatics p2-p3-perl-regexes v2014Bioinformatics p2-p3-perl-regexes v2014
Bioinformatics p2-p3-perl-regexes v2014
 
Bioinformatics p2-p3-perl-regexes v2013-wim_vancriekinge
Bioinformatics p2-p3-perl-regexes v2013-wim_vancriekingeBioinformatics p2-p3-perl-regexes v2013-wim_vancriekinge
Bioinformatics p2-p3-perl-regexes v2013-wim_vancriekinge
 
FUNDAMENTALS OF REGULAR EXPRESSION (RegEX).pdf
FUNDAMENTALS OF REGULAR EXPRESSION (RegEX).pdfFUNDAMENTALS OF REGULAR EXPRESSION (RegEX).pdf
FUNDAMENTALS OF REGULAR EXPRESSION (RegEX).pdf
 
Bioinformatica p2-p3-introduction
Bioinformatica p2-p3-introductionBioinformatica p2-p3-introduction
Bioinformatica p2-p3-introduction
 
Regular_Expressions.pptx
Regular_Expressions.pptxRegular_Expressions.pptx
Regular_Expressions.pptx
 
Introduction to Perl
Introduction to PerlIntroduction to Perl
Introduction to Perl
 
Regular expressions in oracle
Regular expressions in oracleRegular expressions in oracle
Regular expressions in oracle
 
Regular Expressions
Regular ExpressionsRegular Expressions
Regular Expressions
 
Perl Intro 5 Regex Matches And Substitutions
Perl Intro 5 Regex Matches And SubstitutionsPerl Intro 5 Regex Matches And Substitutions
Perl Intro 5 Regex Matches And Substitutions
 
Javascript正则表达式
Javascript正则表达式Javascript正则表达式
Javascript正则表达式
 
Strings,patterns and regular expressions in perl
Strings,patterns and regular expressions in perlStrings,patterns and regular expressions in perl
Strings,patterns and regular expressions in perl
 
Unit 1-strings,patterns and regular expressions
Unit 1-strings,patterns and regular expressionsUnit 1-strings,patterns and regular expressions
Unit 1-strings,patterns and regular expressions
 
Adv. python regular expression by Rj
Adv. python regular expression by RjAdv. python regular expression by Rj
Adv. python regular expression by Rj
 
Basta mastering regex power
Basta mastering regex powerBasta mastering regex power
Basta mastering regex power
 
Don't Fear the Regex - CapitalCamp/GovDays 2014
Don't Fear the Regex - CapitalCamp/GovDays 2014Don't Fear the Regex - CapitalCamp/GovDays 2014
Don't Fear the Regex - CapitalCamp/GovDays 2014
 
Maxbox starter20
Maxbox starter20Maxbox starter20
Maxbox starter20
 
php string part 4
php string part 4php string part 4
php string part 4
 
Regular Expressions in Stata
Regular Expressions in StataRegular Expressions in Stata
Regular Expressions in Stata
 

Más de Chris Chubb

Más de Chris Chubb (20)

Red beanphp orm presentation
Red beanphp orm presentationRed beanphp orm presentation
Red beanphp orm presentation
 
Portfolio Public Affairs Council
Portfolio   Public Affairs CouncilPortfolio   Public Affairs Council
Portfolio Public Affairs Council
 
Portfolio Pact Publications
Portfolio   Pact PublicationsPortfolio   Pact Publications
Portfolio Pact Publications
 
Portfolio Npf Web Site Donate
Portfolio   Npf Web Site DonatePortfolio   Npf Web Site Donate
Portfolio Npf Web Site Donate
 
Portfolio Usccb
Portfolio   UsccbPortfolio   Usccb
Portfolio Usccb
 
Portfolio Webposition
Portfolio   WebpositionPortfolio   Webposition
Portfolio Webposition
 
Portfolio Link Popularity Check
Portfolio   Link Popularity CheckPortfolio   Link Popularity Check
Portfolio Link Popularity Check
 
Portfolio Npf Ms Batch Loader
Portfolio   Npf Ms Batch LoaderPortfolio   Npf Ms Batch Loader
Portfolio Npf Ms Batch Loader
 
Portfolio Npf Buy Site
Portfolio   Npf Buy SitePortfolio   Npf Buy Site
Portfolio Npf Buy Site
 
Portfolio Naic
Portfolio   NaicPortfolio   Naic
Portfolio Naic
 
Portfolio Ccsse
Portfolio   CcssePortfolio   Ccsse
Portfolio Ccsse
 
Portfolio Book Clubs
Portfolio   Book ClubsPortfolio   Book Clubs
Portfolio Book Clubs
 
Database Web
Database WebDatabase Web
Database Web
 
Colocation Tradeoffs
Colocation TradeoffsColocation Tradeoffs
Colocation Tradeoffs
 
Website Creation Process
Website Creation ProcessWebsite Creation Process
Website Creation Process
 
Virtual Company Tools
Virtual Company ToolsVirtual Company Tools
Virtual Company Tools
 
Web 20 Checklist
Web 20 ChecklistWeb 20 Checklist
Web 20 Checklist
 
New Stuff In Php 5.3
New Stuff In Php 5.3New Stuff In Php 5.3
New Stuff In Php 5.3
 
Php Chapter 2 3 Training
Php Chapter 2 3 TrainingPhp Chapter 2 3 Training
Php Chapter 2 3 Training
 
Php Chapter 1 Training
Php Chapter 1 TrainingPhp Chapter 1 Training
Php Chapter 1 Training
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Php Chapter 4 Training

  • 1. Strings And Patterns Orlando PHP Meetup Zend Certification Training April 2009
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.