Tuesday, 22 January 2019

Regex Pattern With PHP

REGEX PATTERN


Match using Class 

<?php $registerpattern = '/<a(.*)class="register"((?:.)*)>/'; ?>
Match the Whole word

<?php $loginpattern = '/\bpathtologin\b/'; ?>

No comments:

Post a Comment