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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -