Ask a Question related to Macromedia Dreamweaver, Design and Development.
-
RobGT #1
Re: RegExp to remove all font tags
Hi David,
I should have explained my situation better :)
This is a function that I need to run on the code on a dynamic page - when
it gets served to the browser.
So I can't use the dreamweaver command - unfortunately...
I look forward to your regexp though - thats exactyl what I need!!!
Cheers,
Rob [url]http://robgt.com/[/url]
Extensions: [url]http://robgt.com/products/index.asp[/url]
Tutorials: [url]http://robgt.com/tutorials/index.asp[/url]
Blog: [url]http://blog.robgt.com/[/url]
RobGT Guest
-
Read True Type Font (ttf) Tags (font name...)
I try to acces to the font name of my ttf fonts using a php script with the file name. I've found a script reading idv tags from mp3 files, but... -
Gotta remove all of these tags!
O.k., so this now seems to go beyond my paragraph tag difficulties in a previous post. Contribute is constantly putting in a tag that puts in... -
remove html tags in string
I see that this cfset statement removes all HTML between the < > brackets. Is there a way to remove all HTML, except certain tags such as... -
How to remove background from font??
I'm using 2.0, XP operating system. I'm having trouble removing a background color from a font. I've tried selecting text, selecting the text box... -
Fonts Remove Underline tags
Ok, I feel dumb today, but I have the following code: <a href="../../../specials/freesemester.shtml"><font color="#FFFFFF" size="1"... -
RobGT #2
Re: RegExp to remove all font tags
I spotted the regexp book on your site:
Mastering Regular Expressions, 2nd Edition
Is it a good place to dive in?
I really need to learn this stuff :)
Cheers,
Rob [url]http://robgt.com/[/url]
Extensions: [url]http://robgt.com/products/index.asp[/url]
Tutorials: [url]http://robgt.com/tutorials/index.asp[/url]
Blog: [url]http://blog.robgt.com/[/url]
RobGT Guest
-
Massimo Foti \(on holiday\) #3
Re: RegExp to remove all font tags
"RobGT" <rob@lighthouseuk.removeme.net> wrote in message
news:bf3e7h$ivp$1@forums.macromedia.com...It's not for the faint of heart, but it's the best book on the subject;> I spotted the regexp book on your site:
>
> Mastering Regular Expressions, 2nd Edition
>
> Is it a good place to dive in?
> I really need to learn this stuff :)
maybe the only one worth reading.
Ben Forta is working on an entry level book that should be available later
this year:
Sams Teach Yourself Regular Expressions in 10 Minutes
by Ben Forta
Paperback - 192 pages (September 2003)
Sams
ISBN: 0672325667
Massimo
Massimo Foti \(on holiday\) Guest
-
RobGT #4
Re: RegExp to remove all font tags
Hi Jules,
Thats the place I started :)
LOL
I've decided to try and attach this from another angle.
Is it possible to strip out all HTML tags except for a predefined list.
i.e.
I want to remove all html tags in a piece of text except the
<strong>,<em>,<li>,<ul> and their relevant closing tags.
I may want to add a few others to the 'exclude' list too.
Can someone flex their regexp muscles and do that??
There's the challenge :)
Cheers,
Rob [url]http://robgt.com/[/url]
Extensions: [url]http://robgt.com/products/index.asp[/url]
Tutorials: [url]http://robgt.com/tutorials/index.asp[/url]
Blog: [url]http://blog.robgt.com/[/url]
RobGT Guest
-
David Powers #5
Re: RegExp to remove all font tags
Massimo Foti (on holiday) wrote:
:: Ben Forta is working on an entry level book that should be available
:: later this year:
::
:: Sams Teach Yourself Regular Expressions in 10 Minutes
:: by Ben Forta
I've always been impressed with Ben's stuff, but RegEx in 10 minutes? Yes,
it can be done, but it's the gotchas in RegEx that take ages to understand
(and I'm nowhere near that myself). There's also an O'Reilly pocket guide
out soon. I've got it on order, and am looking forward to it.
--
David Powers
*******************************************
No-nonsense reviews of computer books
[url]http://japan-interface.co.uk/webdesign/books.html[/url]
Save 10% on TopStyle CSS Editor
*******************************************
David Powers Guest
-
Massimo Foti \(on holiday\) #6
Re: RegExp to remove all font tags
"David Powers" <me@thisisntmyaddress.com> wrote in message
news:bf4h9g$nis$1@forums.macromedia.com...Well, the series's title is pretty stupid, I think what's really count is> Massimo Foti (on holiday) wrote:
> :: Ben Forta is working on an entry level book that should be available
> :: later this year:
> ::
> :: Sams Teach Yourself Regular Expressions in 10 Minutes
> :: by Ben Forta
>
> I've always been impressed with Ben's stuff, but RegEx in 10 minutes? Yes,
> it can be done, but it's the gotchas in RegEx that take ages to understand
> (and I'm nowhere near that myself). There's also an O'Reilly pocket guide
> out soon. I've got it on order, and am looking forward to it.
the amount of pages (around 200), it's definitely not a "10 minutes" job :-)
In the end it could be a good entry level volume, the O'Reilly book may
easily be overkilling (and overwhelming) for the beginners. Let's wait and
see
Massimo
Massimo Foti \(on holiday\) Guest
-
RobGT #7
Re: RegExp to remove all font tags
Hi David,
Changed again :)
I have realised that all I actually need to do now is to remove <font> and
<span> tags.
I think I have that one sorted now!
Many thanks for your help on this.
Cheers,
Rob [url]http://robgt.com/[/url]
Extensions: [url]http://robgt.com/products/index.asp[/url]
Tutorials: [url]http://robgt.com/tutorials/index.asp[/url]
Blog: [url]http://blog.robgt.com/[/url]
RobGT Guest



Reply With Quote

