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

Version Control for Access VBA code? [duplicate]
Form Recordset in Access 2007 Returning no data
MS Access MSChart.Graph.8 not printing
Export MS Access Memo field and convert Unicode
Using function from form in Access SQL statement?
How to update an access field w/the date everytime a change is made to its row?
Is Access's AutoNumber (Increment) guaranteed to increment?
VBA Code to Count all Columns that are numeric in ListBox containing SQL Query Results
How to requery a subform from another form?
Is it possible to create a recursive query in Access?
MS Access 2000 Report needs to be PDF format with URL hyperlinks
Deploying Access as a client-server application
Resize form based on if subform visible
MS Access search for record by textbox instead of dropdown
Uniqueness Constraints in MS Access
Application Icon path in MS Access

Categories

HOME
cakephp
ionic-framework
asp.net-core
webpack
google-play
json.net
bpmn
alfresco
rsync
spring-jdbc
packages
serverspec
wamp
flyway4
fancybox-3
midi
remote-access
normalizr
nhibernate-envers
alpine
restful-authentication
buildbot
linkerd
windows-server-2000
srcset
google-cloud-endpoints-v2
create-table
typed.js
pim
perlin-noise
commit
mozilla
catalog
jmonkeyengine
swisscomdev
swift3.0.2
xenforo
uft-api
lumberjack
user-controls
trim
dism
sql-server-agent
eigenvalue
midl
flashair
executenonquery
cubic-spline
menuitem
hibernate-tools
termination
theming
hendrix
blogengine.net
slickedit
capacity
color-profile
blacklist
pycaffe
migradoc
xcb
abcpdf9
firebaseui
markojs
hill-climbing
pickadate
tcpserver
vhd
srand
spim
lemon
t4mvc
cyclomatic-complexity
angular-leaflet-directive
twirl
truevault
preferences
mesa
elliptic-curve
picturefill
jboss-weld
ember-charts
terminal-services
quantlib-swig
manchester-syntax
newtonscript
getmessage
netbeans-6.9
code-cleanup
rfc1123
visitor-statistic
blitz++
web-application-design
asp.net-profiles
zend-tool
nintendo-ds
yagni
geneva-server
paul-graham
ntvdm.exe

Resources

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
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App