Maybe it's a simple question but today i'm a bit stucked with it.

I need regex to match only if symbol % appeared once in a string..

for example:

/regexpForSymbol(%)/.test('50%') => true
/regexpForSymbol(%)/.test('50%%') => false

Thanks!

Edit
Report