View Full Version : Is it possible in Dreameaver regex to change the case of letters?
04-10-2008, 10:24 AM
Is it possible in Dreameaver regex to change the case of letters? For example change tblarticles into tblArticles ?
04-10-2008, 05:20 PM
You mean the Find feature? Yes - do a text search and replace. Make sure the box is unchecked for match case.
04-10-2008, 06: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
04-10-2008, 06: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
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.