vendredi 5 décembre 2014

Regex Pattern Needed


Vote count:

0




I have a string



Commonwealth Bank of Australia also known as CommSec, is Australia's



From the above string I want to match:



Commonwealth Bank of Australia also known as CommSec, is Australia's.



I also have regex matching for this:



\b
(?<CASE_MIXED>([A-z]*[A-Z][A-z\s]*))+
\b


But with the above regex if there is anything after whitespace, also satisfies the regex. eg.



Commonwealth Bank of Australia also known as CommSec, is Australia's.



Regex example here



asked 1 min ago







Regex Pattern Needed

Aucun commentaire:

Enregistrer un commentaire