Tested regular expressions you can open in the tester, read the explanation of and adapt. Each pattern comes with sample text and unit tests. Save your own pattern with Save & share and tick “publish” to add it here.
3 patterns
(?<!!)\[([^\]]+)\]\(([^)\s]+)(?:\s+"([^"]*)")?\)
[text](url "title") links: group 1 text, group 2 URL, group 3 optional title. Images (![…]) are skipped.
^(.+?)(?:\.([^.\\/]+))?$
Splits a file name into base name (group 1) and extension (group 2). Handles names with several dots.
\b[A-Za-z]:\\(?:[^\\/:*?"<>|\r\n]+\\)*([^\\/:*?"<>|\r\n]*)
Drive-letter paths like C:\Users\name\file.txt; group 1 is the file name.