Home  >  Article  >  Backend Development  >  关于php正则匹配的问题

关于php正则匹配的问题

WBOY
WBOYOriginal
2016-06-02 11:28:40927browse

正则php

汉字字母数字1[汉字字母数字2]数字3 Go

有这样一段html内容,我需要 取得 汉字字母数字1 和 汉字字母数字2 和 数字3 和数字4 其中 [汉字字母数字2] 和 数字3都是有可能出现1次 也有可能一次都不出现。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn