so I have this example string out of a html mail given:
Abholstellenname (Firmenname, Details): Musterfirma GmbH<br>
I'm using the following expression to find the company name, in this case Musterfirma GmbH
:
(?<=Abholstellenname \(Firmenname, Details\): ).*
But I need to exclude the <br>
tag following the company name.
How can I achieve this?
I would not ask here if I haven't read through the tutorials and still didn't get it.
` tag. I edited my post. Thanks! – Clark Ngo Sep 14 '22 at 06:54
]` does not mean "anything but `
`". It matches any char other than `<`, `>`, `b` and `r`. [Here](https://regex101.com/r/8o41Y9/1) is the test proving this solution does not work. – Wiktor Stribiżew Sep 14 '22 at 06:54
]` excludes `
` tag"*** is a wrong statement. Again, ***`[^
]` matches any char other than `<`, `>`, `b` and `r`.*** – Wiktor Stribiżew Sep 14 '22 at 07:04
– DerThronprinz Sep 14 '22 at 07:06