i have a collection {mobile:123456789},{mobile:8877887799},{mobile:8899445588}
so here i want to search patter to get matched field.
db.users.find({"$or":[{"mobile":/^88.*/}]}) if i did this code to search and want to get matched field "two". how can i do this.