Mongodb Regular Expression Query-Queries whether an attribute in the collection contains a number

  mongodb, question

Query whether an attribute in the collection contains a number

I think the official document seems to only support simple matching.

The situation is as follows

. {"DESC ":"save registration basic information, user name: administrator, mobile phone number: 13262868235, password is consistent: True"}
 
 . If only simpler number matching is considered:' 1[3|5|7|8]\d{9}'

What should I do?

This ..docThere is a problem with the design … mongodb originally only supported simple regular matching. If you want to search for text, you should search for full text.