Regex to find only nested tags

Things I have tried

/^#[a-z]+\/todo/

What I’m trying to do

  • I have tags: #a #b #c
  • Each of them has nested tags: #a/todo #b/todo #c/todo
  • I would like to find only nested tags

My Regex is rusty and I think I’m missing something trivial, but can’t remember what. :frowning:

Solved by removing ^

2 Likes

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