Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
textarea replace carriage return
rodigz
Will be possible in FormApi to replace carriage return to
?
thanks.
Find more posts tagged with
Comments
rodigz
replace to break
DynamicAlignment.rptdesign
nipper
Sure quick regex should do it.
rodigz
input = input.replace(/\\r/g, '
'); // \r changed to
globally
alert(input);
i'm trying in javascript
rodigz
this not working..any other options?
i wanna use formapi..or how show i do it using regex?
rodigz
this one will work
var test = input.replace(/(\r\n|[\r\n])/g, "
"); // \r changed to
globally