search

Home  >  Q&A  >  body text

How to delete the a tag code in preg_match

preg_match('/<a.*?href=["|\'](.*?)(\/page-\d{1,}\.html?)\/?(page-\d {1,}\.html)?(.*?)["|\'].*?>/',$content,$matches);


What does it look like after deleting "page-" and ".html" in the code

简简单单简简单单2082 days ago849

reply all(0)I'll reply

No reply
  • Cancelreply