Regular Expressions 101

Community Patterns

Get the HTML table tag and all content from within

-2

Regular Expression
PCRE (PHP <7.3)

/
<table.*?>(([\s*].*(\s*))+)?<\/table>
/

Description

no description available

Submitted by Pedro Marcelo de Sá Alves - 8 years ago