Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> regexp
deniol13
post
Post #1





Grupa: Zarejestrowani
Postów: 190
Pomógł: 2
Dołączył: 30.11.2009

Ostrzeżenie: (10%)
X----


witam, mam problem, mam taki regexp
  1. '/\<tr\>(.*)quzo(.*)\<\/tr\>/si'


On wyszukuje tekst z zmiennej $strona ktora zawiera kod html, i jest problem bo mam np

<tr>
<td>
kod
kod2
</tr>
</tr>
<tr>
<td>
quzo
</td>
</tr>

no i to mi pobiera tez ten inny kod, jak to ograniczyc?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
lmdl
post
Post #2





Grupa: Zarejestrowani
Postów: 39
Pomógł: 1
Dołączył: 6.01.2009

Ostrzeżenie: (0%)
-----


Spróbuj:
Kod
'/\<tr\>(.*?)quzo(.*?)\<\/tr\>/si'
Go to the top of the page
+Quote Post

Posty w temacie
- deniol13   regexp   12.07.2010, 20:23:14
- - lmdl   Spróbuj: Kod'/\<tr\>(.*?...   12.07.2010, 22:14:26


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 26.09.2025 - 06:33