ebw Posted June 30, 2008 Report 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
andrisp Posted June 30, 2008 Report 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
ebw Posted June 30, 2008 Author Report Posted June 30, 2008 nu jaa. man tieshi Javascripta variants interesee.
Recommended Posts