Home > Backend Development > PHP Tutorial > 分页-PHP正则截取问题,截取第N-N+1个#号之间的数据

分页-PHP正则截取问题,截取第N-N+1个#号之间的数据

WBOY
Release: 2016-06-02 11:34:02
Original
912 people have browsed it

正则分页php

$text = "asdfs#sdfj#HELLO123#lj#lj##jlkj#lkjl#lll#lll##jjjjj#";
截取第2-3#之间的数据 HELLO123
截取第N-N+1 #之间的数据,这个N为是已知数

//分页

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template