|
|
Browse by Tags
All Tags » html markup
-
Hi, I'm new to regex, and I've been looking for a solution to this hours now - something I did not expect!
I'm using PHP and I have a discussion forum where I use TinyMCE to post comments. The user is allowed to insert emoticons, which are stored on my server. (Example path: ...
-
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'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" ...
-
<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 ...
-
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 ...
-
Hi,
I was looking for a regex which would strip all HTML and included text except what is included in <h3>,<h4> and <h5> tags.
I am planning to use this regex in javascript.
example:
Input:
<ul>
<li><h4>Sub Menu</h4>
...
-
I am doing parsing of html to pick up url's with url-titles from web-pages using PERL (actually I am using a Perl-script not made by me that takes url-adresses and regexps as input to produce links from the wanted site). I often get problems related to controlling matching patterns in single lines vs multiple lines. Sometimes I always ...
-
Sorry - was jumping ahead. I've tried yours and after tearing it apart I see what it's doing. I've altered my match strings to use the syntax you suggested and voila! It now works as expected. Thanks!!
-
OK. I got it partially working. It matches *but* it returns the entire string including the opening and closing tags. I also tried <(title)>.*?</\1> and this appears to work the same. It also allows me to step to the next match I want. Here is what I have so far:string title = GetMatch(text, ...
-
I am writing in C# on the .NET 2.0 and 3.0 Frameworks.
I have a simple HTML segment that looks like <title>This is the title of the page</title>. I also have a more complex segment that looks like <div class='msgarea'>A long and HTML marked up paragraph is here.</div>. I would like to write a regex for ...
|
|
|