I'm trying to rewrite my regex for using logical condition AND:
(?<="pies osa.")|(\w+\s?\d{1,2}) - now it is OR (Pipe)
I want it to work as find string and check regex.
I've tried:
(?=.*"pies osa.")(?=\w+\s?\d{1,2})
- didn't work for me
Text which I'm using:
pies osa. Pszczol 10, miod mis kon, pies osa. Kon 15
I'm trying to print all words that have been matched. Code need to read out all words after "pies osa." with given regex, which would be only two match: - Pszczol 10
and Kon 15
.