This content has been marked as final. Show 4 replies
Muralidhar wrote:Its pretty basic. So in your case - you need to learn regex. This is what thought me regex - it is very old and written for PHP, but it is universally applicable and quite clearly written:
how to create a regex for this?
The Oracle docs are also quite useful if you want a more java-oriented source of information:
I have done some basic work but unable to find the solution. The problem is in 6 characters there should be one caps at least and it can be anywhere in the string. can anyone help me in this?
Hi I have found some example which satisfies my requirement. That is
but i am facing little bit difficult in understanding this. If i remove "?=" from the regex
the entire meaning changes. when i look at the "Pattern" doc it says something about " via zero-width positive lookahead" but what is the meaning of this? how this works? I have spent some time in google but no use. There is no any good doc which explains this. can any one help me understanding this.