Categories
Regular expression on an empty PHP block?
Regular regexr.com/3bscg I wanted blocks one and three to be captured, I don’t understand why it captures two and how to do it right?
Answer the question
In order to leave comments, you need to log in
/<div([^>]*)><\/div>/ig regexr.com/3bscj
/<div([^>]*)><\/div>/ig
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question