Regular Expressions 101

Community Patterns

1...34567...768

Why doesn't it stop at the period?

-2

Regular Expression
PCRE (PHP <7.3)

/
.*Copyright . \d{4} b?y? ?(.*)\.
/

Description

try to match just the name from this: </p><div class="copyright">Copyright © 2005 Candy Arrington. Used by permission. All rights reserved.</div> <div id="nextPrev">

Submitted by anonymous - 10 years ago