开发者

What's the regex to return the following

开发者 https://www.devze.com 2023-04-09 17:30 出处:网络
I need the regex that returns the follow开发者_StackOverflow中文版ing from a webpage\'s code, I\'m searching whithin Dreamweaver in the code of the page:

I need the regex that returns the follow开发者_StackOverflow中文版ing from a webpage's code, I'm searching whithin Dreamweaver in the code of the page:

<body>
**** lines of HTML code (anything)***
<div class="pg">

sorry I'm into a situation that only regex is the solution, i'm so new to it.


You could try something like:

<body>[\s\S]*<div> class="pg">

you need [\s\S] because . probably won't match \n (unless Dreamweaver has a checkbox for multiline mode or something)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号