Answer the question
In order to leave comments, you need to log in
How to get a substring that has a question mark in it?
https://regex101.com/r/t0Q1W2/1
As you can see in the example, the expression looks for heading tags followed by a paragraph tag. But I want the expression to only find titles that have a question mark in them . Moreover, there may be spaces after the question mark, since the markup is not perfect.
Tried to pick it myself, nothing comes out.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question