briankabiro / react-native-get-sms-android

React Native module to get messages on an Android device
MIT License
137 stars 68 forks source link

Regex matching for Address field in sms #85

Open FatehAK opened 3 years ago

FatehAK commented 3 years ago

Hi,

I was wondering if there is possibility to do regex based matching on the address field (sender) of an sms. Consider there are a bunch of sms's with address fields like this: aaa, ddd, ccc, aab

Now I would like to return only those messages that start with aa (aaa, aab) and discard the rest. Is this possible in the library?