Phone number with regular expression

Hi,
is it possible to use regular expression for phone numbers?
I want to create contacts for companies with several direct dial in numbers. My idea is to make one contact for the company itself with the base telephone number and a regular expression like an asterisk and separate contacts for person inside the company containing the direct dial in number.

but a third-party app could not tell me who (anybody from the company or a special direct dial in number) is calling me at this very moment. So sounds like no way anyhow.

Similar Messages

  • WHICH CARRIERS WILL ALLOW ME KEEP MY PHONE NUMBER WITH NEW SIM CARD?

    WHICH CARRIERS IN USA WILL ALLOW ME TO KEEP MY PHONE NUMBER WITH NEW SIM CARD ON AN IPHONE 5S?

    thank you. 
    i did not know that it was different from normal writing where one might use all caps to cull the attention of the public---as in a newspaper advertisement selling an item and the caps would be intended to make the ad stand out from other advertisements.  i'm old school i guess but im learning & i thank you.
    Did not intentionally try to yell at the readers.  Hope i didn't wake anyone up!!!  Again, my apology.  Thanx.

  • Grouping & Back-references with regular expressions on Replace Text window

    I really appreciate the inclusion of the Regular Expressions in the search & replace feature. One thing I am missing is back-references in the replacement expression. For instance, in the unix tools vi or sed, I might do something like this:
    s/\(firstPart\) \(secondPart\) \(oldThirdPart\)/\2 \1 newThirdPart/g
    which would allow me to switch the places of firstPart and secondPart, and totally replace thirdPart. If grouping and back-references are already present in the Replace Text window, how does one correctly invoke them?

    duplicate of Grouping & Back-references with regular expressions on Replace Text window

  • If I store name's phone number with a country code eg.  218-925555555 and I receive a call as 0925555555 then only number is appeared and no name appears

    if I store a name with phone number with a country code eg. +218-925555555 and I receive a call from that pearson then only number ( 0925555555 ) is appeared but no name.
    and visa versa when I store  925555555 and I receive a call from that pearson then only number ( +218-925555555 ) is appeared but no name.
    moreover, the same happens with messaging

    cmauze2 wrote:
    Ann154 wrote:
    What happened to your old SIM card?  You should have been able to move that card to the new replacement device.
    [quoted]:
    "Sales clerk asked me if I had a Sims card for it. I told him that there`s one in my old phone. He explained to me that it was not going to be working..."
    Or were you referring to the one in the old temporary replacement device? Would that even be compatible with the newer phones?
    The one that wasn't working had a 4G LTE SIM card in it. It should have usable in the replacement Razr. It was only until I read the OP a third time this morning that there might be a third device involved. It would be nice if people would give more specifics on what devices are active at what time. Then the readers of this community can follow the progression of the events better.

  • How can i dial up a phone number with iPad?

    How can i dial up a phone number with iPad?

    Smartgroschen is for free calls and text chatting. You can also use chat with video clips, pictures and your current position on the map. Smartgroschen is an instant messenger that allows you to connect with any Smartgroschen-user worldwide for free.At start you get 0,50 euro.

  • How to dial phone number with extension using phoneCallTask ?

    Hi,
    Can we dial phone number with extension ?
    I mean suppose if there is auto answering machine where we need to dial some extension number after the beep, can we provide it with phoneCallTask.PhoneNumber
    property like we can do it in iphone ?
    Thanks & Regards,
    Anurag

    Hi Anurag:
    Unfortunately Window Phone doesnt provide the option to dial extension. But you can do it manually. After the call is made by clicking on Dial-er and manually inputting the extension.

  • Assistance with Regular Expression and Tcl

    Assistance with Regular Expression and Tcl
    Hello Everyone,
      I recently began learning Tcl to develop scripts for automating network switch deployments. 
    In my script, I want to name the device with a location and the last three octets of the base mac address.
    I can get the Base MAC address by : 
    show version | include Base
     Base ethernet MAC Address       : 00:00:00:DB:CE:00
    And I can get the last three octets of the MAC address using the following regular expression. 
    ([0-9a-f]{2}[:-]){2}([0-9a-f]{2}$)
    But I have not been able to figure out how to call the regular expression in the tcl script.
    I have checked several resources but have not been able to figure it out.  Suggestions?
    Ultimately, I want to set the last three octets to a variable (something like below) and then call the variable when I name the switch.
    set mac [exec "sh version | i Base"] (include the regular expression)
    ios_config "hostname location$mac"
    Thanks for any assistance in advance.
    Chris

    This worked for me.
    Switch_1(tcl)#set result [exec show ver | inc Base]   
    Base ethernet MAC Address       : 00:1B:D4:F8:B1:80
    Switch_1(tcl)#regexp {([0-9A-F:]{8}\r)} $result -> mac
    1
    Switch_1(tcl)#puts $mac                               
    F8:B1:80
    Switch_1(tcl)#ios_config "hostname location$mac"      
    %Warning! Hostname should contain at least one alphabet or '-' or '_' character
    locationF8:B1:80(tcl)#

  • How to search with regular expression

    I make pdx files so that I can search text quickly. But Acrobat doesn't provide a way to search with regular expression. I'm wondering if there is a way that I don't know to search for regular expression in Acrobat Pro 9?

    First, Acrobat must "mount" the PDX.
    As "Find" does not use the cataloged index, use Shift+Ctrl+F to open the advanced search dialog.
    It may be helpful to first enter Acrobat Preferences and for the Search category tick "Always use advanced search options".
    Back to the Search dialog - use the drop down menu for "Look In" to pick "Select Index" then, if no PDXs show, click the Add button.
    In the Open Index File dialog, browse to the location of the desired PDX and select it.
    OK out and use "Return results containing" to pick a "Match ..." requirement or Boolean.
    To become familiar with query syntax, for Acrobat, it is good to review Acrobat Help.
    http://help.adobe.com/en_US/Acrobat/9.0/Professional/WS58a04a822e3e50102bd615109794195ff-7 c4b.w.html
    Be well...

  • Problem with Regular Expression

    Hi There!!
    I have a problem with regular expression. I want to validate that one word and second word are same. For that I have written a regex
    Pattern p=Pattern.compile("([a-z][a-zA-Z]*)\\s\1");
    Matcher m=p.matcher("nikhil nikhil");
    boolean t=m.matches();
    if (t)
              System.out.println("There is a match");
         else
              System.out.println("There is no match");
    The result I am getting is always "There is no match
    Your timely help will be much appreciated.
    Regards

    Ram wrote:
    ErasP wrote:
    You are missing a backward slash in the regex
    Pattern p = Pattern.compile("([a-z][a-zA-Z]*)\\s\\1");
    But this will fail in this case.
    Matcher m = p.matcher("Nikhil Nikhil");It is the reason for that *[a-z]*.The OP had [a-z][a-zA-Z]* in his code, so presumably he know what that means and wants that String not to match.

  • Get the string between li tags, with regular expression

    I have a unordered list, and I want to store all the strings between the li tags (<li>.?</li>)in an array:
    <ul>
    <li>This is String One</li>
    <li>This is String Two</li>
    <li>This is String Three</li>
    </ul>
    This is what have so far:
    <li>(.*?)</li>
    but it is not correct, I only want the string without the li tags.
    Thanks.

    No one?
    Anoyone here experienced with Regular Expression?

  • My Iphone updated today with new IOS 6.1 and while doing that it has sync my phone number with my wife number in the same cloud that we have hence we receive each others SMS when we message each other. Anyone have idea how can I fix this issue in settings

    My Iphone5 updated today with new iOS 6.1 and while doing that it has sync my phone number with my wife number in the same icloud due to which we receive each others SMS when we message each other. Anyone have idea how can I fix this issue in settings etc
    Thank you

    My Iphone5 updated today with new iOS 6.1 and while doing that it has sync my phone number with my wife number in the same icloud due to which we receive each others SMS when we message each other. Anyone have idea how can I fix this issue in settings etc
    Thank you

  • I accidentally linked my wife's phone number with mine. Now I am getting MY text messages that I send to her. It even says my texts are from her. How can I fix it?

    I accidentally linked my wife's phone number with mine. Now I am getting MY text messages that I send to her. It even says my texts are from her. How can I fix it?

    You can't "link" phone numbers but you can, and did add her email address to your iMessage send/receive list.  This often happens when you both use the same Apple ID
    Settings > Messages  > Send & Receive > you can be reached by iMessage at >
    Settings > Messages > Send and Receive > start mew conversations from ?
    You are receiving your own messages because the same email address is on both lists

  • HT201269 I need to disassociate my phone number with apple texting.  Where do I do this on-line?

    I need to disassociate my phone number with apple texting.  Where do I do this on-line?

    IMESSAGE NOT REMOVED FROM OLD DEVICE
    If you have registered your device in your profile then go to: https://supportprofile.apple.com/MySupportProfile.do and click on you your old device in the profile and "unregister" it there.  If you have not registered it there change your Apple ID password.
    Read http://www.imore.com/text-issues-switching-iphone-android-heres-fix
    iMesssage to old phone
    If you move to another phone and forget to turn off iMessage then read “if you no longer have the device in http://support.apple.com/kb/HT5661  If you still cannot resolve it call Apple http://support.apple.com/kb/HE57
    Read http://m.samsung.com/us/support/SupportOwnersFAQPopup.do?faq_id=FAQ00053450&fm_s eq=62995

  • Checking a number sequence with regular expressions

    Hello,
    Suppose I have a text in the pattern:
    A1=ha,A2=bla,A3=cha,...
    I don't know how many sections of "A#=$" (# denotes number, $ denotes text) will be in the text, but I want to verify that the numbers of the A's form the natural ascending number sequence (i.e 1,2,3,...). I prefer to use regular expressions to do this, but if there's another way, I will be glad to hear it too.
    Therefore my question is: How can I use regular expressions to check for a sequence of numbers? I know I can search for groups I've caught previously in the expression, but how can I compute the next number in the sequence from the group and search for the result?
    Thank you very much!

    What I'd do--and I'm not saying this is optimal, just what pops immediately to mind--is have a regex that matches "A(\\d+)=" (assuming the ha, bla, cha can never be "A1" etc.--if they can, you can still do it, but it's more complicated), then you iterate with the Matcher, and each time, you get the Integer.valueOf what you matched. You keep track of the last value, and compare the current to the last. If current is < last (or <= last, depending on your requirements), fail.
    Something like this. I don't recall Matcher's methods off the top of my head, so you'll have to fix the details.
    Matcher m = Pattern.matcher("A(\\d+)=");
    int maxSoFar = Integer.MIN_VALUE;
    while (m.matches(input)) {
        int current = Integer.parseInt(m.getMatchedField("$1"));
        if (current <= maxSoFar) {
            // fail
        else {
            maxSoFar = current;
    } maxSoFar =

  • Help with Regular Expressions and regexp_replace

    Oh great Oracle Guru can I can gets some help
    I need to clean up the phone numbers that have been entered in Oracle eBusiness per_phones table. Some of the phone numbers have dashes, some have spaces and some have char. I would just like to take all the digits out and then re-format the number.
    Ex.
    914-123-1234 .. output (914) 123-1234
    9141231234 ..again (914) 123-1234
    914 123 1234 .. (914) 123-1234
    myphone ... just null
    (914)-123-1234.. (914) 123-1234
    I really tried to understand the regular expressions statments, but for some reason I just can't understand it.

    Hi,
    Welcome to the forum!
    I would create a user-defined function for this. I expect there will be a lot of exceptions to the regular rules (for example, strings that do not contain exactly 10 digits, such as '1-800-987-6543') that can be handled, but would require lots of nested fucntions and othwer complicted code if you had to do it in a single statement.
    If you really want to do it with a regular expression:
    SELECT     phone_txt
    ,     REGEXP_REPLACE ( phone_txt
                     , '^\D*'          || -- 0 or more non-digits at the beginning of the string
                           '(\d\d\d)'     || -- \1 = 3 consecutive digits
                    '\D*'          || -- 0 or more non-digits
                           '(\d\d\d)'     || -- \2 = 3 consecutive digits
                    '\D*'          || -- 0 or more non-digits
                           '(\d\d\d)'     || -- \3 = 4 consecutive digits
                    '\D*$'             -- 0 or more non-digits at the end of the string
                     , '(\1) \2-\3'
                     )          AS new_phone_txt
    FROM    table_x
    ;

Maybe you are looking for

  • Wher is the place holder option to set output encoding in PI 7.1?

    Hi In 7.0 we had an place holder to set the output encoding (i.e. ctrlshftrightclick). where is that option in 7.1? please help Regards Osman Abdul Aziz Jabri

  • Grdi 10.2.0.4 on Windows 2008 Servers

    Hi all, Any mentions to when Oracle will release an update so we can install GRID agents on Windows 2008 servers. As of now, it will not advance past the installation windows. Thanks, JR

  • Why do I have to activate CC every few weeks and repeatedly have to accept the license terms?

    It seems like I have to accept the license terms about once per week for CC applications and every few weeks I'm asked to activate the software yet again. I suspect that this is not normal. This is a Windows 8.1, 64-bit system.

  • Adding datafilter to shuttle region

    Hello all, Is it possible to add a data filter to both the trailing and leading lists in the shuttle? i was successful in adding to the leading list as it's added to the leading list by default. I also want to add a filter to the trailing list. Pleas

  • Software version 2.5?

    Hi... Not really a problem, more a discussion, but I fin odd that after a major iTunes update we do not see a sw v 2.5 yet... Like the movie list in Genre... It sto at C in dramas... the whole itunes store as changed, the ATV SW as not and I think te