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

Access 2010 Date Data Management
append query in asp from access
MS Access textbox update/append
Add zeros (if necessary) to a number in access
Can someone explain the difference between “AND” and “&” in Access
Access 2010 Web Database How to extract a particular column from combo box
password-protecting Access tables
Access - Excluding first column from lookup values
VBA MS Access 2010 How to call a Subroutine of an Object?
Report Field Should Show “N/A” Based on Separate Field
Progress bar in in MS Access
SQL SELECT Query on related table
Assistance with combo box using lookup table - MS Access
MS access : how to add 1 row between 2 rows?
Access 2010 Error Accessing the system registry
How to edit subform based on joined tables in Access 2010

Categories

HOME
image
gerrit
amazon-ec2
minimum-spanning-tree
heroku
angular-material
view
elm
icloud
django-imagekit
jplayer
task
size
opentracing
jsdoc
invantive-sql
apache-metamodel
propel
excel-vba-mac
scichart
autocad-plugin
paging
java-3d
intentfilter
css-animations
microsoft-r
crystal-reports-2010
sqlcipher
info.plist
facebook-apps
tinymce-4
bcd
http-status-code-503
code-contracts
vsts-build-task
windows-dev-center
xmlreader
gammu
google-api-nodejs-client
web-mining
graphenedb
mesos-chronos
email-templates
galen
gzipstream
g-code
password-encryption
turbogears
taffy
blogengine.net
jlink
darcs
knockout-components
nsarray
media-player
hittest
watchconnectivity
angular-strap
deadbolt-2
grails-tomcat-plugin
ado.net-entity-data-model
mikroc
asp.net-4.5
merge-conflict-resolution
prettytensor
actionbardrawertoggle
libressl
deis
ionic
splash
xc16
camanjs
jscript.net
knuth
algebraic-data-types
html5-notifications
gnu-smalltalk
back-stack
seed
broken-links
gdata-api
armcc
labwindows
tridion-worldserver
errai
postgresql-performance
spring-portlet-mvc
work-stealing
php-parser
zpt
xmemcached
pyinotify
telerik-scheduler
dmx512
getresponsestream
preference
nsviewanimation
asp.net-profiles
firefox4
nintendo-ds
project-hosting

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