|
|
Browse by Tags
All Tags » html tags
Showing page 1 of 2 (19 total posts)
-
hello every1,
I have a string which contains html tags and data to display..now I want to implement search function in that..
The problem is that html tags can also contain that searched string..
For eg,
<p align="center"> abcd </p>
now if I seach 'a' then it will return a from 'align' and 'abcd ...
-
hello,
please i want to find all tags<a> without the title attribute in a HTML file
my regex is:if (preg_match_all("/<a\s[^>]*href=(\s*(\"??)([^\" >]*?)\\2[^title>]*)>(.*)<\/a>/siU",$contenu,$out, PREG_SET_ORDER))
this regex return all tags <a>without words wich contains ...
-
Hello,
I'm trying to extract all html tags from a string using PHP. I use the following regexp:
/<[^>]+>/i
If the string contains "<img src="image.jpg"><span id="spanID">Text Here</span>" the regex gives me the desired result. However if I have a string like: "<img ...
-
Hi,
I've got a javascript/regex scenario I was hoping to find a solution to.
Here’s the situation
We have been given the string "The quick brown fox jumped over the lazy sleeping dog."
We want to replace it with "The large yellow tiger jumped over the lazy sleeping cat".
Normally this would ...
-
Hi all,
I want to do something that I don't know if it possible. I have an HTML document from which I obtain all texts that are inside tags, for example, all text inside a span, p, a, etc.
My regex is: (>)[\r\n\t]*([\w\s&;]+)[\r\n\t]*(<) and it woks great. Now, I don`t some tags and they are different from the others ...
-
<meta name="keywords" content="IBM 7976KAG SYSTEM X3400 QC 1.60GHZ 2GB 3X73,sunucular, server, markalı sunucular, markalı server, hp sunucular, hp, ibm, ibm sunucular, ibm server, century server, century sunucular">
<meta name="description" content="Fiyat:1879$+KDV | Kdv Dahil:2.877,95YTL | Havale ile %3 ...
-
hi every one .. I want to parse product name , price from source kod of web site by using C#. Example in that code I want to take PANASONIC BB-HCM515CE CCD MEGAPIKSEL POE VIDEO, 838,8 € + KDV,2.081,52 YTL,Havaleye %3 İndirim: with 2.019,07 YTL. But that code is not just between the ...
-
Hi everyone
<span class="FiyatSmallBlackBack"><b>Bizde:</b></span><span class="FiyatSmallBlue"><b> 26,00 USD + KDV</b></span> <br />
In that HTML I want to parse 26,00 USD +KDV using c# but that html could be as that ; (no +KDV just 26,00 ...
-
Hey all,
Before I start, I just want to say that below you will find a modifier of "U". I know a lot of people say this should not be used, so if there is a way that my issue can be resolved where the U modifier won't be needed, great!
Language: PHP (4)
Users submit content via a wysiwyg ...
-
I can't see anything that answers my question elsewhere on the forum, so I'll ask it here.
I need to construct a regex that searches a url eg. www.mypage.com that contains the unique tags <span class "price">, </span>. Withing these tags is an integer price in the format of "20.99".
How ...
1
|
|
|