ms-access


Extracting telephone number from narrative data in Access Query or Excel if possible


I have a field in Access with the data type memo, and I am trying to extract the telephone number from the narrative.
The data usually looks like:
2016/16/1: User1234: question answered about cyber security software, interested yes, 1, or 2.
2016/16/1:1:013 call back to sell deal 123-123-1234.
Sometimes the number can be located within the narrative not just at the end but it usually always follows that format "123-123-1234."
This is what I have so far but I have no idea where to put this expression. Like I said the field name is called "comments" and the data type is memo.
This is what someone told me to use but I have no idea where to place it.
txtPhone=Mid(strText,InStr(strText,"-")-3,12)


Related Links

Report building from selection in datasheet
Multiple arguments IsNull function MS Access VBA
how to pass parameters to ExportWithFormatting using vbscript
Access 2010 cascading combo boxes runtime error 424
Access Month Calendar View
Shapefile to MDB with custom field structure [duplicate]
Query JET 4 database with SSIS
Microsoft Access 2010: Query Criteria moving
Is there a way to create an Access database from a Visio database model?
Access: insert multiselect box values into database
ms access extra table indexes
Recordsource vs Recordset for Unbound Forms
Access Database Remote Connection
How to programmatically convert Access 1997 .mdb to Access 2007 .accdb
Microsoft Access Duplicate Output Destination workaround
Ms access : calculated field from other table

Categories

HOME
jdo
blogger
openmp
webpack
reflection
drivers
homebrew
appx
iot
relay
grep
routes
pivotal-cloud-foundry
contact
synchronization
primary-key
node-pdfkit
spring-kafka
timeout
phaser
uitypeeditor
saxon
transformation
invantive-sql
oxyplot
django-cms
kryo
php-openssl
microsoft-r
jndi
icloud-api
shopware
microsoft-sync-framework
linkerd
stormpath
google-cloud-endpoints-v2
uisplitview
webtest
repo
plsql-psp
io-redirection
retina-display
reportbuilder
broadcastreceiver
preconditions
dynamic-reports
quadratic-programming
janrain
galleria
taffy
scrollable
clean-architecture
python-webbrowser
composite-key
google-cdn
abcpdf9
jquery-filter
color-picker
azure-sdk
dstu2-fhir
merge-conflict-resolution
lttng
dlna
revolution-r
pyke
phpcas
lib.web.mvc
wyam
sorl-thumbnail
preferences
project-planning
typeof
reactfx
valuechangelistener
didselectrowatindexpath
floating-point-precision
geos
tidy
shellexecute
mylyn
cascalog
javaspaces
ticoredatasync
ohm
locate
cxxtest
gamequery
ti-dsp
scripting-languages
ubuntu-9.04





Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm