Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
font-family: Verdana, Arial, Geneva, san-serif; font-size: .69em; color: #666666Into something like this:
font-family Verdana, Arial, Geneva, san-serif font-size .69em color #666666The numbers of names and values is dynamic. Some css selectors have 1 name value pair, some have half a dozen. I can write a regex that grabs one name value pair but I am stumbling over writing one that will match each pair in the string. Thanks in advance for any help!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regex question
by graff (Chancellor) on Mar 23, 2004 at 02:15 UTC | |
|
Re: regex question
by Vautrin (Hermit) on Mar 23, 2004 at 00:56 UTC | |
|
Re: regex question
by leriksen (Curate) on Mar 23, 2004 at 02:53 UTC | |
|
Re: regex question
by Anonymous Monk on Mar 23, 2004 at 15:42 UTC |