search and replace with regular expressions
Posted: Tue Jul 03, 2007 1:43 pm
How could I replace all the commas with "commas followed by a space" only within the keywords meta tag ? (using dreamweaver's regular expressions)
Turn this:
<meta name="Keywords" content="word1,word2,word3,word4,word5,word6" />
into this:
<meta name="Keywords" content="word1, word2, word3, word4, word5, word6" />
I've tried many combinations but couldn't find answer:
"Keywords" content="[,]/>$
Turn this:
<meta name="Keywords" content="word1,word2,word3,word4,word5,word6" />
into this:
<meta name="Keywords" content="word1, word2, word3, word4, word5, word6" />
I've tried many combinations but couldn't find answer:
"Keywords" content="[,]/>$