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 Query that brings up decimal amounts
Access 2016 Processes not being killed during Automation but same works for Access 2013/10/07
Unable to use Multivalue field in an exsting Access form
Insert value from textbox into 2 different table ms-access
Access 2013 Expression Builder not displaying
Missing ACCDB database drivers
MS Access Form button that allows user to browse/choose file, then imports file to a table
Can codesmith generator work with MS Access provider?
Access file unable to run in x64
Form.Seltop not selecting top most record
I have an ADO recordset, now I want to create a table from it but not at its connection location. How?
weighted average caluculation in access table
inputting info from one text box to another with command button
Sending attachments using access vba
Removing certain strings in an Access 2010 query
MS Access - Hide Columns on Subform

Categories

HOME
yii2
iterator
cplex
infragistics
sharepoint-designer
synchronization
nstableview
timeout
windows-phone-7
quickfix
caml
netflix
apache-metamodel
shared-hosting
visual-composer
immutable.js
opencover
wijmo
one-to-many
numerical-methods
windows-error-reporting
vision
r-raster
sql-server-2012-express
iframe-resizer
repo
form-data
rotational-matrices
nssegmentedcontrol
io-redirection
adobe-premiere
swisscomdev
automake
swift3.0.2
espeak
xenforo
cookiecutter-django
tasker
elmah
texmaker
heightmap
segment
ionicons
winscp-net
hls.js
darcs
nodebb
orthogonal
removechild
intrusion-detection
asp.net-4.5
sigabrt
hill-climbing
make-install
rvest
iad
google-places
intellij-14
jqgrid-formatter
rgeo
ionic
p2
skos
javax.mail
ng-animate
cctv
websocket4net
neolane
sgen
reactfx
mcts
dir
bulkloader
batterylevel
eclipse-memory-analyzer
random-seed
specification-pattern
isnullorempty
coderush
bigcouch
php-parser
gnustep
hamachi
yetanotherforum
locate
dentrix
routedevent
preference
commodore
lzh

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