qwikad.com
12-30-2012, 09:34 PM
Hi!
I need a code that will allow only 5 tabs in a row and all other consecutive tabs after that should be stripped.
This is a sample code from the JS editor:
text = text.replace(/^[ \t]+$/mg,"");
I hope it makes sense. Thank you.
I need a code that will allow only 5 tabs in a row and all other consecutive tabs after that should be stripped.
This is a sample code from the JS editor:
text = text.replace(/^[ \t]+$/mg,"");
I hope it makes sense. Thank you.