MATLAB: Regex: How to match an empty string

emptyMATLABregexp

Consider the following string:
a = '';
How can I match it using regexp?

Best Answer

Use
regexp(a,'^$','emptymatch')