CommonRegexPHP:在字符串中查找许多常见信息

时间:2024-02-25 00:04:38
【文件属性】:

文件名称:CommonRegexPHP:在字符串中查找许多常见信息

文件大小:12KB

文件格式:ZIP

更新时间:2024-02-25 00:04:38

php parsing string regex dates

CommonRegexPHP 从迁移 PHP的端口 在字符串中查找许多常见信息。 拉请求欢迎! 请注意,这目前仅适用于英语/美国。 用法 composer require james2doyle/common-regex-php 然后在代码中的某处: $ parser = new CommonRegexPHP ; $ results = $ parse ( 'See you at 12:00AM on March 22nd 2018' ); // returns [ // 'dates' => [ // 'March 22nd 2018', // ],


【文件预览】:
CommonRegexPHP-master
----composer.json(919B)
----phpunit.xml(642B)
----composer.lock(51KB)
----tests()
--------CommonRegexPHPTest.php(3KB)
--------autoload.php(453B)
----LICENSE(1KB)
----src()
--------james2doyle()
----.gitignore(291B)
----README.md(1016B)

网友评论