java - Regular expression for lines starts with capital letter word -


i have below lines of text in text file,

james working in london program developed in java program working 

i want lines have starting word capital letter

james working in london program working 

thanks

for english language, can use this

^[a-z].* 

the ^ start of line. , [a-z] means capital letter.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -