Insert a Break after every 55 characters
<p>I want to insert a <strong>line Break</strong> after every <strong>55</strong> characters i have made a <code>jquery</code> script but it doesn't work can some one please point me in the right direction </p>

<p>Jquery.js</p>

<pre><code>$(document).ready(function() {
    $('#text_comment').text($(this).val().replace(/([\s\S]{55})/g, '$1&lt;br /&gt;'));

});
</code></pre>

<p>Index.php</p>

<pre><code>&lt;input type="text" class="comment" id="text_comment"autocomplete="off"time_date="&lt;?php echo $date_shared;?&gt;" 
    username="&lt;?php echo $comment_username;?&gt;"post_id="&lt;?php echo $shared_id2; ?&gt;"placeholder="Write a Comment"/&gt;
</code></pre>