PHP preg_match, preg_replace Tool
Pattern:
( /
pattern
/
gim
- (
g
= global;
i
= case Insensitive,
m
= Multiline )
-- Choose Predefined Pattern --
Currency - US
Email Address (International) - Loose TLD
Email Address - Loose TLD
Full Name with Salutation
URL - Loose Post Port
Ip Address
HTML Tags
Phone Number - US
Trim Whitespace
Trim Whitespace - Left
Trim Whitespace - Right
Zipcode - Canada
Zipcode - US
Zipcode - US+Canada
ReplaceString:
Subject:
Choose Method:
int
preg_match
( string $pattern, string $subject [, array &$matches [, int $flags [, int $offset]]] )
mixed
preg_replace
( mixed $pattern, mixed $replacement, mixed $subject [, int $limit [, int &$count]] )