Could you please help me in writing a pure regex expression to find the first letter that doesn't repeat in a string? I thought I might possibly need to use negative lookahead and negative lookbehind, but I don't think javascript supports lookbehind.
For e.g.
'NUNUMUNN' // expected output 'M'
'LOMING' // expected output 'L'
I think it's possible to do this using general string operations, but my preference is really for pure regex.
My starting point is currently this:
/(a-zA-Z).*?(?!\1)/.match('thestring');
But it doesn't work.