|
|
|
Вопрос по написанию навороченнго регулярного выражения
|
|||
|---|---|---|---|
|
#18+
Допустим у меня есть фрагмент HTML текста. The code in many of the following examples is somewhat more explicit and less dense than <font color='red'> code <b> you are <i> likely </i> to find in actual </b> Web pages </font> . The intent here is to clarify the concepts, not to express optimal coding conciseness and style. Который выглядит вот так The code in many of the following examples is somewhat more explicit and less dense than code you are likely to find in actual Web pages. The intent here is to clarify the concepts, not to express optimal coding conciseness and style. Мне нужно, замэтчить строку чистого! текста " dense than code you are likely to find in actual Web " игнорируя HTML тэги при поиске чтобы потом захайлатить этот текст, сделав желтый бэкграунд. The code in many of the following examples is somewhat more explicit and less <span style="background:yellow"> dense than <font color='red'> code <b> you are <i> likely </i> to find in actual </b> Web </span> pages </font> . The intent here is to clarify the concepts, not to express optimal coding conciseness and style. Может у кого есть готовый пример? Буду признателен. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 06.12.2004, 18:31 |
|
||
|
Вопрос по написанию навороченнго регулярного выражения
|
|||
|---|---|---|---|
|
#18+
Можно так попробовать Код: plaintext 1. 2. 3. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 06.12.2004, 21:35 |
|
||
|
|

start [/forum/topic.php?fid=23&fpage=494&tid=1479080]: |
0ms |
get settings: |
6ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
36ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
26ms |
get tp. blocked users: |
1ms |
| others: | 214ms |
| total: | 312ms |

| 0 / 0 |
