Jump to content

[SOLVED] preg_match_all


Asheeown

Recommended Posts

I have a string of HTML and I need to get everything in between <span class="q2">  and  </span>, it happens multiple times throughout the string so I assumed the match_all function would work best?  I've worked with php for over six years and never could figure out the search queries for preg_match.

Link to comment
https://forums.phpfreaks.com/topic/149523-solved-preg_match_all/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.