My text is id:65476 name:ashu and i want id ie 65476 from whole text using regex.So plz help me to get regex for this.I want something which is between ‘id:’ and ‘name’ and for this can anyone suggest me regex.
\d{5}
Hii thanks for the reply.
input:
id:74565
name:ashu
country:india
and i want output as:74565 ashu india
so help me out with regex for the above.
thank you …
1 Like
Hey @indra
it could be shorter too like this
Best thing if you want the lable too then capture both them in a group to get lable and respective values
Regards…!!
Aksh
3 Likes
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.