Regex order/options to allow beginning delimiter #4490
Replies: 2 comments 3 replies
-
Hmm… that's an interesting problem; it's not exactly a use case that we've built the I wonder if a custom plugin might be the best way to do this? Not entirely sure what a good route would be, to be honest, unless it's possible to make that |
Beta Was this translation helpful? Give feedback.
-
I'm having a hard time following what exactly you try to do here, since this is missing your configuration for context (in particular the That being said, this sounds like the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, my current goal for how files should look is number-track_name, that is, there is an initial number for the year or track, a hyphen as a delimiter, and then the title for the album or track. Is there any way I can perform a
replace
only on e.g.$title
and$album
, or is there a regular expression solution?This is what my
replace
section currently looks like:'^(\d+)\s+': '\1-'
is supposed to preserve the initial number place a hyphen, but it looks like these hyphens are being replaced with underscores by'-+': _
. What could I possibly do about this?Beta Was this translation helpful? Give feedback.
All reactions