Dataview JS inline query + rexexmatch

Hi there,
I’m looking for away to get the number of all notes with “OBS” in the beginning of each filename, followerd by any other characters.

Things I have tried

$=dv.pages().where(p => p.file.name == regexmatch("OBS.+", file.name)).length

Error: regexmatch is not defined

.where(p => p.file.name.startsWith('OBS'))
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.