MATLAB: How to delete leading zeros in a row vector in MATLAB

I have created a function which multiplies two factorials together in MATLAB and the final result is:
0000000000000000000000000000000000000000
0000000000000005127485891768928006848657
3067757467756330382900027197934928341442
4644048874750576347830749966301579885959
6864463688769208320000000000000000000000
00
I need to delete the leading zeros, without deleting the trailing zeros. Anyone know how to do this?
Would help a lot, thanks

Best Answer

If it's a vector of chars, this should do:
data = regexprep(data,'^0*','')