Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Instruction
Using Regular Expressions in PHP
If you need a refresher on how Regular Expressions work, check out our Introduction to Regular Expressions Course.
PHP supports regular expressions through the use of the PCRE (Perl Compatible Regular Expressions) library which is enabled in almost all PHP installations. When calling any of the methods below, PHP requires that each pattern starts and ends with the same delimiter to differentia...