I have a file that has lines starting with triple ticks "```" and single tick "`".
I want to match only the single tick ones. So the expression would show me "`single" and not "```triple"
```triple
`single
CodePudding user response:
You could use the following regex pattern:
^`(?!`).*$
This would match only lines starting with a single backpack. Here is a working demo.