Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Search string for more than one occurance of a word in a row
Old 04-25-2005, 11:52 AM Search string for more than one occurance of a word in a row
Average Talker

Posts: 20
Trades: 0
[lame question]
I am trying extract readable text from html files. I strip the tags and replace line breaks with <br>. Now, the problem is that sometimes i end up with like 5 br's in a row because of the many breaks in source. How can replace many <br>'s that are in a row with just one <br>
Sorry for lame question, but i couldn't find answer anywhere.
[/lame question]
tima89 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Search string for more than one occurance of a word in a row
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15231 seconds with 12 queries