regular expression
-
That's what I was asking for. A real example of what you were actually trying to do instead of a lot of made up examples that didn't resemble any real data. (?<= )(\w) (?=\w )
Despite everything, the person most likely to be fooling you next is yourself.
that didnt work out... what i need is 1. it should merge only single characters 2. but should not merge numeric values. only alphabets should be merged 3. also should stop if delimers are found (!@#$&;') can you help me
the quieter u become more u hear
-
that didnt work out... what i need is 1. it should merge only single characters 2. but should not merge numeric values. only alphabets should be merged 3. also should stop if delimers are found (!@#$&;') can you help me
the quieter u become more u hear
Ok, do you have any example where it doesn't work? This is the output you required: DNo:12,Crystal Building,ghn OMR Road;5 ecr road; c/o rv rao And this is the output that I got (copied straight from the console): DNo:12,Crystal Building,ghn OMR Road;5 ecr road; c/o rv rao That looks pretty identical to me...
Despite everything, the person most likely to be fooling you next is yourself.
-
Ok, do you have any example where it doesn't work? This is the output you required: DNo:12,Crystal Building,ghn OMR Road;5 ecr road; c/o rv rao And this is the output that I got (copied straight from the console): DNo:12,Crystal Building,ghn OMR Road;5 ecr road; c/o rv rao That looks pretty identical to me...
Despite everything, the person most likely to be fooling you next is yourself.
this example doesnt work out DNo:12,Crystal Building,ghn O M R Road;5 e c r road; c/o r v rao if found the solution kindly send me the pattern which you are using
the quieter u become more u hear
-
this example doesnt work out DNo:12,Crystal Building,ghn O M R Road;5 e c r road; c/o r v rao if found the solution kindly send me the pattern which you are using
the quieter u become more u hear
-
That's exactly the input that I was using. It's working just fine, and I already posted the pattern that I was using.
Despite everything, the person most likely to be fooling you next is yourself.
"DNo:12,Crystal Building,ghn O M R Road; 5 e c r road; c/o r g rao"; that bold part alone has errors it shows 5ecr... i told you numeric values should not be included even if it is single... could u fix it out thanks for your help
the quieter u become more u hear
-
"DNo:12,Crystal Building,ghn O M R Road; 5 e c r road; c/o r g rao"; that bold part alone has errors it shows 5ecr... i told you numeric values should not be included even if it is single... could u fix it out thanks for your help
the quieter u become more u hear
-
lawrenceinba wrote:
that bold part alone has errors it shows 5ecr...
No, it doesn't. Look at the output that I posted.
Despite everything, the person most likely to be fooling you next is yourself.
please try this input "DNo:12,Crystal Building, behind O M R Road; 5 e c r road; c/o r g rao" the output merges 5ecr
the quieter u become more u hear
-
please try this input "DNo:12,Crystal Building, behind O M R Road; 5 e c r road; c/o r g rao" the output merges 5ecr
the quieter u become more u hear
great conversation, keep it up! :laugh:
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google - the quality and detail of your question reflects on the effectiveness of the help you are likely to get - use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
-
please try this input "DNo:12,Crystal Building, behind O M R Road; 5 e c r road; c/o r g rao" the output merges 5ecr
the quieter u become more u hear
-
Yes, that does give a different output. Use this pattern: (?<= )([A-Za-z]) (?=[A-Za-z] )
Despite everything, the person most likely to be fooling you next is yourself.
thank you very much... that works very well :) :) :) :) :)
the quieter u become more u hear