---
title: "正则表达式"
author: "ynial"
date: "2011-09-21T16:32:32Z"
tags: []
categories: ["编程语言"]
slug: "untitled"
draft: false
lastmod: "2011-09-21T16:32:32Z"
id: 1177191
url: "https://ynial.iteye.com/blog/1177191"
---

String envPattern = "学校环境</h2></span>(*?)<ul id=\"huanjing\">(*?)<li>(*?)</li>";

用这个表达式解决 带换行的数据抓取问题