ebw Posted June 30, 2008 Report Share Posted June 30, 2008 (edited) sveiki! censhos iebraukt tajos regexpos, ne iipashi sanaak. lieta taada ka vajag izvaakt no stringa visus html tagus iznjemot <br>. tiku tik taalu ka vinjsh izvaac visus tagus. bet kaa noraadiit lai vinjsh atstaaj <br>? re = /<\s*([a-z]|p\w|\!)[^>]*>|<\s*\/\s*([a-z]|p\w)[^>]*>/gi; jau ieprieksh paldies. Edited June 30, 2008 by ebw Link to comment Share on other sites More sharing options...
andrisp Posted June 30, 2008 Report Share Posted June 30, 2008 (edited) Iesaku vienkārši strip_tags() un norādi otro parametru. Ā, tev vajag JS. hm.. http://kevin.vanzonneveld.net/techblog/art...hps_strip_tags/ Edited June 30, 2008 by andrisp Link to comment Share on other sites More sharing options...
ebw Posted June 30, 2008 Author Report Share Posted June 30, 2008 nu jaa. man tieshi Javascripta variants interesee. Link to comment Share on other sites More sharing options...
Recommended Posts