i need a regex that will match any content within two backticks as long as there is at least one non white space character and return immediately after the second backtick. been trying for ages w/ no success
You could paste the code you’ve been working with. Might be some built in functions to help with what your doing but sounds like a algorithms problem.
Hi.
Hope this helps
Or better (otherwise would match two backtick without content
Cheers.
P.S. : Should you want only the 1st match, remove the global setting.
I jsut tried on the default engine to the site but there are different flavours of regex so it may not work right on. But most of those are pretty close and I’m rather confident that they all defined \S
thanks incredibly for putting in the effort to help me. maybe i didnt explain my case adequately. i want let template = ``; or let template =
; or let template =
let x = j
all to return no match but let template = j
to match. i dont even know how to word my requirements accurately… :-S