My regexes in use

date-created:: 2023-05-05

Here is a list of quickly-hacked-together regex patterns to mitigate tasks that otherwise seem Herculean.

Subtitler (app) subtitle file .srt output

Search for (in CotEditor)
^\{.*"([^\}]+)"\}\n
Peplace with
$1\n

Example

Screenshot 2023-12-17 at 14.37.19.png|500

Screenshot 2023-12-17 at 14.37.50.png|250

In Obsidian

#todo/file/d path:/[^t]\/[^\/]+\.md
(Not robust but largely gets the job done)

/[^a-z0-9\/]\/[^\/024-9]{1,20}\/[^a-z\)]/

e.g.

(annotation in parentheses: /SAMPA/ but [IPA])

SAMPA: /"e1 oU "ke1/
non-SAMPA:
IPA (mwald) /ˌeıoʊˈkeı/
IPA-variant (node)
/ ˈeiˈwʌn / ([i] for [ı])
/ ˈæblaut / (/u/ for /U/)

/\\\\ [^\\]{1,100}[ˌˈ].[^\\]{1,100}\\\\/

e.g. \ si-​ˈkwe-​(ˌ)lē\


Outside Obsidian