Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Senior Coder nikos101's Avatar
    Join Date
    Dec 2006
    Location
    London
    Posts
    1,007
    Thanks
    59
    Thanked 10 Times in 10 Posts

    Cool Is it possible in Dreameaver regex to change the case of letters?

    Is it possible in Dreameaver regex to change the case of letters? For example change tblarticles into tblArticles ?


  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    You mean the Find feature? Yes - do a text search and replace. Make sure the box is unchecked for match case.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • #3
    Senior Coder nikos101's Avatar
    Join Date
    Dec 2006
    Location
    London
    Posts
    1,007
    Thanks
    59
    Thanked 10 Times in 10 Posts
    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


  • #4
    Senior Coder shyam's Avatar
    Join Date
    Jul 2005
    Posts
    1,563
    Thanks
    2
    Thanked 163 Times in 160 Posts
    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 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
    You never have to change anything you got up in the middle of the night to write. -- Saul Bellow


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •