...

View Full Version : Is it possible in Dreameaver regex to change the case of letters?



nikos101
04-10-2008, 09:24 AM
Is it possible in Dreameaver regex to change the case of letters? For example change tblarticles into tblArticles ?

gnomeontherun
04-10-2008, 04:20 PM
You mean the Find feature? Yes - do a text search and replace. Make sure the box is unchecked for match case.

nikos101
04-10-2008, 05:20 PM
No my friend I mean

find: tbl(a)rticles //finds tblarticles
replace: tbl($1)rticles //replaces as tblArticles

changing the case of a, I don't think this is possible

shyam
04-10-2008, 05:54 PM
a simpler solution is to search for tblarticles and replace with tblArticles with match case enabled...but if you truly want something where you want to script the replacement...there is jedit (http://www.jedit.org/) where you can use a java expression as the replacement...

so when searching for (tbl)(a)(rticles) you can replace with _1 + _2.toUpperCase() + _3



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum