Match using Class
<?php $registerpattern = '/<a(.*)class="register"((?:.)*)>/'; ?>
Match the Whole word<?php $loginpattern = '/\bpathtologin\b/'; ?>
<?php $registerpattern = '/<a(.*)class="register"((?:.)*)>/'; ?>
Match the Whole word<?php $loginpattern = '/\bpathtologin\b/'; ?>
moment().format('MMMM Do YYYY, h:mm:ss a'); // January 7th 2019, 2:48:53 pm
moment().format('dddd'); // Monday
moment().format("MMM Do YY"); // Jan 7th 19
moment().format('YYYY [escaped] YYYY'); // 2019 escaped 2019
moment().format(); // 2019-01-07T14:48:53+08:00