#1 : 19/06-15 03:19 Mike
Posts: 5
|
Hi everyone,
is there a posibillity to automatically add a blank or space in front of every capitalized letter?? e.g. "SpringBreakPartyFlyer" should end up looking like this "Spring Break Party Flyer". Greatful for an answer.. Thanks |
#2 : 19/06-15 10:34 Tester123
Posts: 92
|
Try this 'Replace' method:
Text to be replaced: ([^\s])([A-Z]) Replace with: $1 $2 Case sensitive: Tick Use regular expressions: Tick Note there is one space between $1 $2 in the 'Replace with' string. Quick explanation: look for any capital letter [A-Z] that is not preceded by a space [^\s], and replace with 'preceding character (represented by $1), followed by a space, followed by the capital letter (represented by $2)'. |
#3 : 20/06-15 09:10 Mike
Posts: 5
|
Reply to #2:
YES..Its working..GREAT. THANKS SO MUCH!!! |
#4 : 29/08-16 16:03 David
Posts: 1
|
Reply to #2:
Hi, I hope it's not late. I tried this method for the same case and does not work or maybe I'm not doing well. I'm using version 3.73. also try this ([^\s] | [A-Z]) and it does not work. in 'Replace with' I literally write $ 1 $ 2? Thanks! |
#5 : 29/08-16 17:46 G. Lambany
Posts: 187
|
Reply to #4:
I does work, make sure the "Occurence" setting of the Replace method is set to "All" and also, make sure you enter the parameters exactly how they are written here copy paste them if you aren't sure: text to be replaced: ([^\s])([A-Z]) replace with: $1 $2 Occurence: all Case sensitive: checked use regular expression: checked apply to : name cheers |