Posts by klebrr • 21 points
2 posts
-
1
votes2
answers474
viewsA: Regular expression to filter the first paragraph between tags using PHP
After much research on Regex I found the solution /<p><span style=\"font\-size:16px\">(.*?)<\/span><\/p>/s check here…
-
1
votes2
answers474
viewsQ: Regular expression to filter the first paragraph between tags using PHP
I need to extract the first paragraph of an HTML code using Regular Expressions. The Goal: To get only the content highlighted in green: HTML code <div class="text"> <p><span…