正则表达式匹配任何字符,包括空格

regex matching any character including spaces

如何使用正则表达式匹配包含字符和空格的字符串?

正文:

Blabla === This is my Text === Blablabla

到目前为止我的正则表达式:

===(.?)===

我想简单匹配:

=== This is my Text ===
===(.*?)===

您错过了 * 或量词。+ 是另一个量词。