|
|
|
помогите с регулярным выражением
|
|||
|---|---|---|---|
|
#18+
сколько я по ним читал литературы, а все равно сути уловить не могу есть такая ситуация большой текст, нужно выдрать из него блоки. (много текста){пробел, а может его и не быть}[</h>](нужный текст){пробел, а может его и не быть}[Place for](много текста) нужно выдрать этот нужный текст. Заранее спасибо кто откликнулся. Может у кого есть время, написать вариант с комемнтарием, буду очень благодарен. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.09.2005, 11:05 |
|
||
|
помогите с регулярным выражением
|
|||
|---|---|---|---|
|
#18+
Почитайте RegExp и все станет много проще... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.09.2005, 12:43 |
|
||
|
помогите с регулярным выражением
|
|||
|---|---|---|---|
|
#18+
DamnedestПочитайте RegExp и все станет много проще... так все равно патерн нужно писать. А нету проги которая этим занимается? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.09.2005, 12:48 |
|
||
|
помогите с регулярным выражением
|
|||
|---|---|---|---|
|
#18+
DamnedestПочитайте RegExp и все станет много проще... Ну на самом деле для начинающих это не так просто ... надо принцип понять сначало а потом паттерны писать. Навскидку: Код: plaintext ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.09.2005, 12:53 |
|
||
|
помогите с регулярным выражением
|
|||
|---|---|---|---|
|
#18+
не сработало вот есть такой текст автор <div id="communitycontent"> <div style="float :right; margin:5px;"><img src="images/communities/65_logo.gif" alt="Bella Vista Italian Village Resort & Plaza Logo"></div><div style="float :right; clear :right;margin:5px;"><img src="images/communities/65_photo.jpg" alt="view of Bella Vista Italian Village Resort & Plaza Community"></div> <h1>Bella Vista Italian Village Resort & Plaza</h1> <p>Bella Vista Italian Village Resort & Plaza, is an eight storey condo hotel set in seven acres in the heart of Orlando with a strong Italian theme. </p> <p class="normal">Bella Vista Italian Village is just minutes from the Disney attractions, Universal Studios and SeaWorld. It is also close to the Orange County Convention Center and within easy travelling distance of both the Gulf and Atlantic Coasts. Shops, factory outlets, dining and night-life are all close by. </p> <p class="normal">Bella Vista Italian Village will offer a total of 180 luxury condos with 1, 2 and 3 bedrooms. The community will enjoy magnificent landscaping with lakes and four fountains and there will be nightly views of fireworks from the theme parks.</p> <p class="normal">Bella Vista Italian Village will have a grand entrance with stunning Lighted Italian fountain and impressive lobby and reception area. </p> <p class="normal"><strong>Amenities will be:</strong><br /></p><ul><li>Unique Plaza with specialty shops, restaurants and boutiques</li><li>Close to Numerous Restaurants</li><li>Concierge Services</li><li>Daily Maid Service</li><li>Private Meeting Facilities</li><li>Bar and Grill Restaurant</li><li>Large Special Events Room</li><li>Business Center</li><li>Access to the Internet</li><li>Swimming Pools</li><li>Pool Bar & Grill</li><li>Fitness Center and Spa</li><li>Club House</li><li>BBQ Areas</li><li>Children’s Swimming Pool and play areas</li><li>Lakes</li><li>24-hour Security</li></ul><p class="normal"></p> <p class="normal">The condo units will be professionally designed and decorated and will range in size from 960 sq ft to 1,850 sq ft plus spacious terraces. </p> <p class="normal"><strong>The Condos will feature:</strong><br /></p><ul><li>Fully Equipped Kitchen</li><li>Washer and Dryer</li><li>Large Screen Color Television</li><li>DVD and Entertainment Center</li><li>Master Suite With Luxurious Soaking Tub</li><li>26" Television In Each Room</li><li>High-Speed Internet Access</li><li>Two-line Telephones</li><li>Furniture, fixtures and equipment included in price</li></ul><p class="normal"></p> <p class="normal">One of the features at Bella Vista Italian Village is the option of placing your condo unit in the community’s rental program. There will be a professional management company, The Continental Group Inc, who will obtain rentals for you. Under the terms of the rental agreement, the management company will pay for many of the running costs including administration, marketing and housekeeping. Marketing will be carried out by Millenium Marketing. Owners will be responsible for property taxes, insurance and capital improvements.</p> <p class="normal">Bella Vista Italian Village will be developed by Villas Portofino LLC and the builders are The Douglas Construction Company.</p> <p class="normal">Prices from $237,500 - $415,000</p> <p class="normal"><strong>Location:</strong><br />Bella Vista Italian Village will be located on International Drive.</p> <p class="normal">Zoned for short term rental</p> <p class="normal"><span style="color:red" /><strong>CURRENT PHASE SOLD OUT</strong></span><br /></p> </div> красным это то что нужно выдрать :( я уже пытался поразному, не хочет брать весь текст, небольшие куски находит. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.09.2005, 13:10 |
|
||
|
помогите с регулярным выражением
|
|||
|---|---|---|---|
|
#18+
vivкрасным это то что нужно выдрать :( я уже пытался поразному, не хочет брать весь текст, небольшие куски находит. А теперь скажи, что общего между этим тесктом и тем то что ты дал до этого? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.09.2005, 13:16 |
|
||
|
помогите с регулярным выражением
|
|||
|---|---|---|---|
|
#18+
VERS vivкрасным это то что нужно выдрать :( я уже пытался поразному, не хочет брать весь текст, небольшие куски находит. А теперь скажи, что общего между этим тесктом и тем то что ты дал до этого? это один из блоков их много. Я хочу узнать принцип, хотя бы для одного. Потом бутет легче писать для других. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.09.2005, 13:20 |
|
||
|
помогите с регулярным выражением
|
|||
|---|---|---|---|
|
#18+
автор <div id="communitycontent"> <div style="float :right; margin:5px;"><img src="images/communities/65_logo.gif" alt="Bella Vista Italian Village Resort & Plaza Logo"></div><div style="float :right; clear :right;margin:5px;"><img src="images/communities/65_photo.jpg" alt="view of Bella Vista Italian Village Resort & Plaza Community"></div> <h1>Bella Vista Italian Village Resort & Plaza</h1> <p>Bella Vista Italian Village Resort & Plaza, is an eight storey condo hotel set in seven acres in the heart of Orlando with a strong Italian theme. </p> <p class="normal">Bella Vista Italian Village is just minutes from the Disney attractions, Universal Studios and SeaWorld. It is also close to the Orange County Convention Center and within easy travelling distance of both the Gulf and Atlantic Coasts. Shops, factory outlets, dining and night-life are all close by. </p> <p class="normal">Bella Vista Italian Village will offer a total of 180 luxury condos with 1, 2 and 3 bedrooms. The community will enjoy magnificent landscaping with lakes and four fountains and there will be nightly views of fireworks from the theme parks.</p> <p class="normal">Bella Vista Italian Village will have a grand entrance with stunning Lighted Italian fountain and impressive lobby and reception area. </p> <p class="normal"><strong>Amenities will be:</strong><br /></p><ul><li>Unique Plaza with specialty shops, restaurants and boutiques</li><li>Close to Numerous Restaurants</li><li>Concierge Services</li><li>Daily Maid Service</li><li>Private Meeting Facilities</li><li>Bar and Grill Restaurant</li><li>Large Special Events Room</li><li>Business Center</li><li>Access to the Internet</li><li>Swimming Pools</li><li>Pool Bar & Grill</li><li>Fitness Center and Spa</li><li>Club House</li><li>BBQ Areas</li><li>Children’s Swimming Pool and play areas</li><li>Lakes</li><li>24-hour Security</li></ul><p class="normal"></p> <p class="normal">The condo units will be professionally designed and decorated and will range in size from 960 sq ft to 1,850 sq ft plus spacious terraces. </p> <p class="normal"><strong>The Condos will feature:</strong><br /></p><ul><li>Fully Equipped Kitchen</li><li>Washer and Dryer</li><li>Large Screen Color Television</li><li>DVD and Entertainment Center</li><li>Master Suite With Luxurious Soaking Tub</li><li>26" Television In Each Room</li><li>High-Speed Internet Access</li><li>Two-line Telephones</li><li>Furniture, fixtures and equipment included in price</li></ul><p class="normal"></p> <p class="normal">One of the features at Bella Vista Italian Village is the option of placing your condo unit in the community’s rental program. There will be a professional management company, The Continental Group Inc, who will obtain rentals for you. Under the terms of the rental agreement, the management company will pay for many of the running costs including administration, marketing and housekeeping. Marketing will be carried out by Millenium Marketing. Owners will be responsible for property taxes, insurance and capital improvements.</p> <p class="normal">Bella Vista Italian Village will be developed by Villas Portofino LLC and the builders are The Douglas Construction Company.</p> <p class="normal">Prices from $237,500 - $415,000</p> <p class="normal"><strong>Location:</strong><br />Bella Vista Italian Village will be located on International Drive.</p> <p class="normal">Zoned for short term rental</p> <p class="normal"><span style="color:red" /><strong>CURRENT PHASE SOLD OUT</strong></span><br /></p> </div> зеленым, это те границы от которых можно построить патерн, тоесть они повторяются единожды в тексте ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.09.2005, 13:23 |
|
||
|
помогите с регулярным выражением
|
|||
|---|---|---|---|
|
#18+
Код: plaintext ------------------------------- www.free-lancer.ru ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.09.2005, 13:24 |
|
||
|
помогите с регулярным выражением
|
|||
|---|---|---|---|
|
#18+
VERS Код: plaintext ------------------------------- www.free-lancer.ru Код: plaintext ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.09.2005, 13:25 |
|
||
|
|

start [/forum/topic.php?fid=23&msg=33273544&tid=1477597]: |
0ms |
get settings: |
5ms |
get forum list: |
14ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
230ms |
get topic data: |
6ms |
get forum data: |
1ms |
get page messages: |
28ms |
get tp. blocked users: |
1ms |
| others: | 200ms |
| total: | 489ms |

| 0 / 0 |
