How to split value in single quotes after specific string

(?<=Cannot add user. ['‘]).*?(?=['’])

we cannot rely on inverted single quotes like ‘ as it could be a copy paste issue but can handle defensive it