|
|
Browse by Tags
All Tags » html
Showing page 1 of 5 (45 total posts)
-
Hi,
I have hundreds of links on a website that were manually programmed in HTML as hyperlinks. Our designer informed me that they shouldn't be links, so rather than line by line remove the <A> element from my code I'm looking to use the Regular Expression search and replace function within my development IDE to resolve this issue ...
-
I'm trying to find words in HTML that are between tags using PHP (v5.2.6) preg_replace.
The following rules apply to the matches
full word match only (can also be matched when adjacent to non-word characters such as commas, parenthesis, periods, question marks, exclamation marks, percentage, dollar signs)
e.g. "test" would ...
-
Hi, I have for example the following string:
<!-- google_ad_section_start -->Some text bla bla!<!-- google_ad_section_end -->
Now I need a regex to only find the last comment, but only if the string ends with a comment (maybe followed by some white spaces). If there is somebody asking for the sense of this, I need to add a read more ...
-
Hi, im new to regular expressions, and have a questions. How do i go about getting data between HTML tags ? eg:
<pos>1234.000 2345.000 567.000</pos>
I've tried both of these: ^\Q<b>\E[\d\w\s]+\Q</b>\E and (?>=^|>)[^><]+?(?=<|$) , But neither of them work how i need them to. The ...
-
Hello!
I'm using PHP and I need to find all the XHTML tags that aren't closed (or open) properly in a text.
For example, in this text I need to match the tag <strong> to remove it:
<p>This is an <strong>error</p> I thought it would be easy, just an assertion-related problem, and I created this ...
-
Hello RegexAdvice users.
I am at this time trying to update my template system, and i have desidet to use regex insted of ALOT of explodes :D
I this i will start out with showing you what my templates look like.
code:<html>
<head>
<title>Some test</title>
</head>
<body>
<php:if ...
-
I hoped that the answer to my last question would be enough of a hint to solve the following problem but I still don't get it how to negate a part of the expression or maybe there is a better solution...
Still using PCRE in PHP. I'm parsing an html document. My goal is to extract some data from a table that meets certain conditions:
- id ...
-
I'm editing an old bookmarks.html file in Dreamweaver to prep it before I import the bookmarks back into Firefox. An example bookmark would look like this:
<DT><A href="http://isohunt.com/" ADD_DATE="1125111393" LAST_VISIT="1207867025" ...
-
Hi,
can anybody help me with regex to match this:
http://www.google.com/level1/name.html
so something like match all between last ocurance of "/" and ".html"
Thanks in advance,
Cash
p.s. sorry on noob question :)
-
<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 ...
1
|
|
|