Hanubu,
Your original expression is incorrect as it did not escape escapable regex
characters.
Original regex: ([\d ]*[a-zA-Z]+( \d*:\d*)?)(( - )| )?(((\d* )?[a-zA-Z]+
)?\d*([:-]+\d*)?)

When searching for dashes, periods, and some other characters, they must be
escaped like this: [\.\-\]

Your corrected regex: 
([\d ]*[a-zA-Z]+( \d*:\d*)?)(( \- )| )?(((\d* )?[a-zA-Z]+ )?\d*([:\-]+\d*)?)

For more information on escaping characters try this search: 
https://duckduckgo.com/?q=which+characters+should+be+escaped+in+regex&t=brave&ia
=web

To test your regex, use one of these regex testers: 
https://duckduckgo.com/?q=regex+tester&t=brave&ia=web&iai=r1-0&page=1&sexp=%7B%2
2biaexp%22%3A%22b%22%2C%22msvrtexp%22%3A%22b%22%7D

You type in your regex, then your text to search, and it will help you find
something that works on the proper text. Some of these regex testers allow you
to have an account so you can save your regex's. :)

-- 
<https://forum.pspad.com/read.php?2,75204,75508>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem