| View previous topic :: View next topic |
| Author |
Message |
Reynaldo Halfop
Joined: 11 May 2005 Posts: 54
|
Posted: Thu Jul 06, 2006 8:54 pm Post subject: Help with regsub |
|
|
| Code: |
regsub -all " " $html "" html
regsub -all " " $html "" html
regsub -all " " $html "" html
|
is it any idea to make it simple?, coz the output after parse from web, return to many space(blank line). |
|
| Back to top |
|
 |
dwickie Halfop
Joined: 21 Aug 2004 Posts: 76 Location: /pub/beer
|
Posted: Fri Jul 07, 2006 4:28 am Post subject: |
|
|
| Code: |
regsub -all {\s{5,}} $html "" html
|
this will replace more than 5 spaces |
|
| Back to top |
|
 |
Reynaldo Halfop
Joined: 11 May 2005 Posts: 54
|
Posted: Sat Jul 08, 2006 10:15 pm Post subject: |
|
|
| Thanks bro dwickie |
|
| Back to top |
|
 |
|