i would like to get the error numbers in my error messages. Like
Opening and ending tag mismatch: en
line 44 and goodsOpening and ending tag mismatch:
describtion line 40 and categorieOpening and ending tag mismatch:
categorieInfo line 28 and cardPremature end of data in tag categorie
line 27Premature end of data in tag card line
2
i want to search all that. For that i need a regex like: get me the word (acutally the number) after the word line. its always line. Since i’ve never worked with regex. Im reading me into it but until now i have had no luck with that.
Im doing that on php. Please give me some input in that. 🙂 thanks
If you want only line numbers, use this:
If you want to match all line numbers at once: