VictoryTDP Posted March 30, 2021 Report Posted March 30, 2021 21 minutes ago, cloud said: Or last word lo starting with M and next 8 digits teskunte saripothadi so that after that _X vachina fail kaadu .. yeah bro you can try that Quote
cloud Posted March 30, 2021 Author Report Posted March 30, 2021 6 minutes ago, VictoryTDP said: yeah bro you can try that deniki regex evvara if possible . Quote
cloud Posted March 30, 2021 Author Report Posted March 30, 2021 16 minutes ago, naughty15 said: https://regex101.com/ test reg expressions here.. yeah bro adhae using to test . Thanks Quote
naughty15 Posted March 30, 2021 Report Posted March 30, 2021 may be done most efficient way other than below, but this works ^M\d{8}$|^M\d{8}_X$ Quote
VictoryTDP Posted March 30, 2021 Report Posted March 30, 2021 4 minutes ago, naughty15 said: may be done most efficient way other than below, but this works ^M\d{8}$|^M\d{8}_X$ This will match on both bro, so do you want to print _X as well? Quote
cloud Posted March 30, 2021 Author Report Posted March 30, 2021 4 minutes ago, naughty15 said: may be done most efficient way other than below, but this works ^M\d{8}$|^M\d{8}_X$ Thanks bro , koncham modified M\d{8}$|M\d{8}_X$ , ^ tesesa . Mee case lo it picks up M12345678 and M12345678_X , kani naku M12345678_X unna M12345678 pick cheskovaali .. _X ni ignore cheyyali Quote
VictoryTDP Posted March 30, 2021 Report Posted March 30, 2021 4 minutes ago, cloud said: ltt bro been busy with the meetings, (?!999)\d{3} something like this will work Quote
cloud Posted March 30, 2021 Author Report Posted March 30, 2021 28 minutes ago, VictoryTDP said: bro been busy with the meetings, (?!999)\d{3} something like this will work NP bro . Work kaledu . _X daggara solution dorkatledu M/d{8}$ works for M12345678 M12345678 but M12345678 M12345678_X work katledu Quote
VictoryTDP Posted March 30, 2021 Report Posted March 30, 2021 7 minutes ago, cloud said: NP bro . Work kaledu . _X daggara solution dorkatledu M/d{8}$ works for M12345678 M12345678 but M12345678 M12345678_X work katledu Yeah I know bro, let me check Quote
karthikn Posted March 31, 2021 Report Posted March 31, 2021 On 3/30/2021 at 12:28 PM, VictoryTDP said: Yeah I know bro, let me check M[\d]{8}(?=_X) searches for _X but doesn't capture (positive look ahead) Quote
VictoryTDP Posted March 31, 2021 Report Posted March 31, 2021 6 minutes ago, karthikn said: M[\d]{8}(?=_X) searches for _X but doesn't capture (positive look ahead) @cloud Quote
VictoryTDP Posted March 31, 2021 Report Posted March 31, 2021 9 minutes ago, karthikn said: M[\d]{8}(?=_X) searches for _X but doesn't capture (positive look ahead) Thanks bro, I was missing the positive look ahead yesterday Quote
cloud Posted April 1, 2021 Author Report Posted April 1, 2021 Thanks bro . Both of you M[\d]{8}(?=_X) Enduko panicheyyatledu . I added $ at the end as i need to match last value . M12345678 M12345678 ani iste 2nd value pick laedu mari Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.