Thread
:
Regular expression to capitalise the first letter of a word
View Single Post
10-23-2010, 02:33 AM
#
1
Ahmad Samir
Zealot
Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
Regular expression to capitalise the first letter of a word
Hi.
Is there some regular expression that I can use to capitalise the first letter of a word?
I tried:
searching for: \b([a-z])(\w+)\b
replace with: \u\1\2
but that doesn't seem to work...
Ahmad Samir
View Public Profile
Find More Posts by Ahmad Samir
Track Posts by Ahmad Samir via RSS