Hello, I have problem with regex. For example I have a pattern for (12-12)(15.15)(H) Message and this format repeats itself. I am reading data from file in this format and I would like to know that is there any way to read until (12-12) pattern repeats itself. I can read it with repeats (12-12)(15.15)(H) Message (13-13)(14.14)(L) Messages . but if there is just one, my regex does not work. Also my message has new lines.
↧