query: regex to stop at the first match instead of the last? using PHP
positive_passages.docid: 2360
positive_passages.text: My regex is matching too much. How do I make it stop?
negative_passages.docid: 88430
negative_passages.text: Using RegEx to balance match parenthesis
negative_passages.docid: 44719
negative_passages.text: How can I count the number of matches for a regex?
negative_passages.docid: 47217
negative_passages.text: regex negative look around with 2 adjacent matches
negative_passages.docid: 2457
negative_passages.text: Regular expression for first and last name
negative_passages.docid: 96443
negative_passages.text: PHP regex for validating a URL
negative_passages.docid: 51437
negative_passages.text: Truncate string after certain number of substring occurrences in PHP?
negative_passages.docid: 7634
negative_passages.text: How do you reindex an array in PHP but with indexes starting from 1?
negative_passages.docid: 69892
negative_passages.text: Count number of matches of a regex in Javascript
negative_passages.docid: 80516
negative_passages.text: Return previous line of all matches
negative_passages.docid: 75574
negative_passages.text: What regex to use for this
negative_passages.docid: 61907
negative_passages.text: Right way to escape backslash [ \ ] in PHP regex?
negative_passages.docid: 96252
negative_passages.text: JavaScript: replace last occurrence of text in a string
negative_passages.docid: 100787
negative_passages.text: How do I remove all specific characters at the end of a string in PHP?
negative_passages.docid: 22752
negative_passages.text: Remove unnecessary close tags using regex
negative_passages.docid: 116912
negative_passages.text: Regex only match if character is not included directly before desired string
negative_passages.docid: 74027
negative_passages.text: Replace string only once with php preg_replace