How and why to use regular expressions


/{bb}|^[b]{2}/

by
Joel Lord

A little about me...

Regex 101


/(\(?)([0-9]{3})(\-| |\))?([0-9]{3})(\-)?([0-9]{4})/

Title

101 examples

A little further down the rabbit hole

Examples

Making them readable

Readable regex example

Applying to php

preg_match

preg_replace

Title

How and why to use regular expressions

By Joel Lord

How and why to use regular expressions

  • 575
Loading comments...

More from Joel Lord