How to match only strings that do not contain a dot (using regular expressions)Regex to remove certain repeating characters but ignore othersHow can I remove the 'dot' as a valid character in the following regex?How to remove dot (.) character using a regex for email addresses of type “abcd.efgh@xyz.com” in java?Is there a regular expression to detect a valid regular expression?How to validate an email address using a regular expression?Regular expression to match a line that doesn't contain a wordHow do you access the matched groups in a JavaScript regular expression?How do you use a variable in a regular expression?How to do a regular expression replace in MySQL?How do I make the first letter of a string uppercase in JavaScript?How to replace all occurrences of a string?RegEx match open tags except XHTML self-contained tagsd is less efficient than [0-9]

Paradox regarding phase transitions in relativistic systems

Tips for remembering the order of parameters for ln?

MySQL - How to check for a value in all columns

What the did the controller say during my approach to land (audio clip)?

All numbers in a 5x5 Minesweeper grid

Output Distinct Factor Cuboids

How long to get a new passport in the US?

Is it safe to unplug a blinking USB drive after 'safely' ejecting it?

Amiga 500 OCS/ECS vs Mega Drive VDP

Other than good shoes and a stick, what are some ways to preserve your knees on long hikes?

EU compensation - fire alarm at the Flight Crew's hotel

Is a global DNS record a security risk for phpMyAdmin?

What's the purpose of autocorrelation?

Problem of Induction: Dissolved

Strength of Female Chimpanzees vs. Male Chimpanzees?

Secondary characters in character-study fiction

How to convey to the people around me that I want to disengage myself from constant giving?

How could artificial intelligence harm us?

My passport was stamped with an exit stamp while transiting to another Schengen country via Turkey. Was this a mistake?

Inquiry answerer

Carroll's interpretation of 1-forms

What is the origin of the "being immortal sucks" trope?

How often is duct tape used during crewed space missions?

What to do as a player when ranger animal companion dies



How to match only strings that do not contain a dot (using regular expressions)


Regex to remove certain repeating characters but ignore othersHow can I remove the 'dot' as a valid character in the following regex?How to remove dot (.) character using a regex for email addresses of type “abcd.efgh@xyz.com” in java?Is there a regular expression to detect a valid regular expression?How to validate an email address using a regular expression?Regular expression to match a line that doesn't contain a wordHow do you access the matched groups in a JavaScript regular expression?How do you use a variable in a regular expression?How to do a regular expression replace in MySQL?How do I make the first letter of a string uppercase in JavaScript?How to replace all occurrences of a string?RegEx match open tags except XHTML self-contained tagsd is less efficient than [0-9]






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








18















I'm trying to find a regexp that only matches strings if they don't contain a dot, e.g. it matches stackoverflow, 42abc47 or a-bc-31_4 but doesn't match: .swp, stackoverflow or test..










share|improve this question


























  • By the way, you should update the question to accurately reflect what you want. You seem to not want does but the question indicates you do want dots.

    – Tom
    Jan 20 '11 at 0:45

















18















I'm trying to find a regexp that only matches strings if they don't contain a dot, e.g. it matches stackoverflow, 42abc47 or a-bc-31_4 but doesn't match: .swp, stackoverflow or test..










share|improve this question


























  • By the way, you should update the question to accurately reflect what you want. You seem to not want does but the question indicates you do want dots.

    – Tom
    Jan 20 '11 at 0:45













18












18








18


4






I'm trying to find a regexp that only matches strings if they don't contain a dot, e.g. it matches stackoverflow, 42abc47 or a-bc-31_4 but doesn't match: .swp, stackoverflow or test..










share|improve this question
















I'm trying to find a regexp that only matches strings if they don't contain a dot, e.g. it matches stackoverflow, 42abc47 or a-bc-31_4 but doesn't match: .swp, stackoverflow or test..







regex






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 20 '16 at 8:44









Martin Vseticka

18.2k20 gold badges102 silver badges176 bronze badges




18.2k20 gold badges102 silver badges176 bronze badges










asked Jan 20 '11 at 0:38









tx31415tx31415

931 gold badge1 silver badge4 bronze badges




931 gold badge1 silver badge4 bronze badges















  • By the way, you should update the question to accurately reflect what you want. You seem to not want does but the question indicates you do want dots.

    – Tom
    Jan 20 '11 at 0:45

















  • By the way, you should update the question to accurately reflect what you want. You seem to not want does but the question indicates you do want dots.

    – Tom
    Jan 20 '11 at 0:45
















By the way, you should update the question to accurately reflect what you want. You seem to not want does but the question indicates you do want dots.

– Tom
Jan 20 '11 at 0:45





By the way, you should update the question to accurately reflect what you want. You seem to not want does but the question indicates you do want dots.

– Tom
Jan 20 '11 at 0:45












3 Answers
3






active

oldest

votes


















35
















^[^.]*$


or



^[^.]+$


Depending on whether you want to match empty string. Some applications may implicitly supply the ^ and $, in which case they'd be unnecessary. For example: the HTML5 input element's pattern attribute.



You can find a lot more great information on the regular-expressions.info site.






share|improve this answer



























  • thanks, this worked!

    – tx31415
    Jan 20 '11 at 1:52


















4
















Use a regex that doesn't have any dots:



^[^.]*$


That is zero or more characters that are not dots in the whole string. Some regex libraries I have used in the past had ways of getting an exact match. In that case you don't need the ^ and $. Having a language in your question would help.



By the way, you don't have to use a regex. In java you could say:



!someString.contains(".");





share|improve this answer



























  • @tchrist - I updated my answer. I really have used libraries before (can't remember which though) that allow for exact matching. I figured the OP was having trouble with saying "not dot". Also -- I think my contains approach is pretty reasonable. But perhaps this is homework or the OP is forced to use some library that only accepts a regex...

    – Tom
    Jan 20 '11 at 1:10











  • I will add: my solution works for most languages, but there can be subtleties and I'm happy to try and clarify if the OP provides more details. Also, escaping in brackets is fine (in languages I have used) and I prefer to do it.

    – Tom
    Jan 20 '11 at 1:11











  • @Tom: I agree that a substring check instead of regex is a perfectly reasonable approach; the question sounds like homework or somehow in over their head. What you’re remembering is that Java has a screwed up matches method (don't get me started), which goes out of its way to supply anchors even when you don’t; that's just one of several reasons why you should only use its find method if you’re forced to use Java for regexes (it’s not very good at them). Most other regex languages aren't so lame. BTW, you still have a spurious backslash. Remove it and I'll remove my downvote.

    – tchrist
    Jan 20 '11 at 1:14












  • @tchrist: removed... but really? It does work. And matches is not what I'm thinking of. Now that I think of it, it was either a third party library or a utility function I wrote for myself.

    – Tom
    Jan 20 '11 at 1:21











  • @Tom I don’t like to see the extra backslashes in square-bracketed character classes because it risks people thinking that . and . mean something different within them — and from there they’ll likely misextrapolate other dubious inaccuracies. It’s important that they realize things work differently inside the brackets than they work outside them.

    – tchrist
    Jan 20 '11 at 1:25



















1
















Validation Require: First Character must be Letter and then Dot '.' is not allowed in Target String.



// The input string we are using
string input = "1A_aaA";



 // The regular expression we use to match
Regex r1 = new Regex("^[A-Za-z][^.]*$"); //[tx0020] tab and spaces.

// Match the input and write results
Match match = r1.Match(input);
if (match.Success)

Console.WriteLine("Valid: 0", match.Value);


else

Console.WriteLine("Not Match");






share|improve this answer



























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f4742357%2fhow-to-match-only-strings-that-do-not-contain-a-dot-using-regular-expressions%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    35
















    ^[^.]*$


    or



    ^[^.]+$


    Depending on whether you want to match empty string. Some applications may implicitly supply the ^ and $, in which case they'd be unnecessary. For example: the HTML5 input element's pattern attribute.



    You can find a lot more great information on the regular-expressions.info site.






    share|improve this answer



























    • thanks, this worked!

      – tx31415
      Jan 20 '11 at 1:52















    35
















    ^[^.]*$


    or



    ^[^.]+$


    Depending on whether you want to match empty string. Some applications may implicitly supply the ^ and $, in which case they'd be unnecessary. For example: the HTML5 input element's pattern attribute.



    You can find a lot more great information on the regular-expressions.info site.






    share|improve this answer



























    • thanks, this worked!

      – tx31415
      Jan 20 '11 at 1:52













    35














    35










    35









    ^[^.]*$


    or



    ^[^.]+$


    Depending on whether you want to match empty string. Some applications may implicitly supply the ^ and $, in which case they'd be unnecessary. For example: the HTML5 input element's pattern attribute.



    You can find a lot more great information on the regular-expressions.info site.






    share|improve this answer















    ^[^.]*$


    or



    ^[^.]+$


    Depending on whether you want to match empty string. Some applications may implicitly supply the ^ and $, in which case they'd be unnecessary. For example: the HTML5 input element's pattern attribute.



    You can find a lot more great information on the regular-expressions.info site.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jan 20 '11 at 2:19

























    answered Jan 20 '11 at 0:41









    Bob AmanBob Aman

    29.4k9 gold badges60 silver badges94 bronze badges




    29.4k9 gold badges60 silver badges94 bronze badges















    • thanks, this worked!

      – tx31415
      Jan 20 '11 at 1:52

















    • thanks, this worked!

      – tx31415
      Jan 20 '11 at 1:52
















    thanks, this worked!

    – tx31415
    Jan 20 '11 at 1:52





    thanks, this worked!

    – tx31415
    Jan 20 '11 at 1:52













    4
















    Use a regex that doesn't have any dots:



    ^[^.]*$


    That is zero or more characters that are not dots in the whole string. Some regex libraries I have used in the past had ways of getting an exact match. In that case you don't need the ^ and $. Having a language in your question would help.



    By the way, you don't have to use a regex. In java you could say:



    !someString.contains(".");





    share|improve this answer



























    • @tchrist - I updated my answer. I really have used libraries before (can't remember which though) that allow for exact matching. I figured the OP was having trouble with saying "not dot". Also -- I think my contains approach is pretty reasonable. But perhaps this is homework or the OP is forced to use some library that only accepts a regex...

      – Tom
      Jan 20 '11 at 1:10











    • I will add: my solution works for most languages, but there can be subtleties and I'm happy to try and clarify if the OP provides more details. Also, escaping in brackets is fine (in languages I have used) and I prefer to do it.

      – Tom
      Jan 20 '11 at 1:11











    • @Tom: I agree that a substring check instead of regex is a perfectly reasonable approach; the question sounds like homework or somehow in over their head. What you’re remembering is that Java has a screwed up matches method (don't get me started), which goes out of its way to supply anchors even when you don’t; that's just one of several reasons why you should only use its find method if you’re forced to use Java for regexes (it’s not very good at them). Most other regex languages aren't so lame. BTW, you still have a spurious backslash. Remove it and I'll remove my downvote.

      – tchrist
      Jan 20 '11 at 1:14












    • @tchrist: removed... but really? It does work. And matches is not what I'm thinking of. Now that I think of it, it was either a third party library or a utility function I wrote for myself.

      – Tom
      Jan 20 '11 at 1:21











    • @Tom I don’t like to see the extra backslashes in square-bracketed character classes because it risks people thinking that . and . mean something different within them — and from there they’ll likely misextrapolate other dubious inaccuracies. It’s important that they realize things work differently inside the brackets than they work outside them.

      – tchrist
      Jan 20 '11 at 1:25
















    4
















    Use a regex that doesn't have any dots:



    ^[^.]*$


    That is zero or more characters that are not dots in the whole string. Some regex libraries I have used in the past had ways of getting an exact match. In that case you don't need the ^ and $. Having a language in your question would help.



    By the way, you don't have to use a regex. In java you could say:



    !someString.contains(".");





    share|improve this answer



























    • @tchrist - I updated my answer. I really have used libraries before (can't remember which though) that allow for exact matching. I figured the OP was having trouble with saying "not dot". Also -- I think my contains approach is pretty reasonable. But perhaps this is homework or the OP is forced to use some library that only accepts a regex...

      – Tom
      Jan 20 '11 at 1:10











    • I will add: my solution works for most languages, but there can be subtleties and I'm happy to try and clarify if the OP provides more details. Also, escaping in brackets is fine (in languages I have used) and I prefer to do it.

      – Tom
      Jan 20 '11 at 1:11











    • @Tom: I agree that a substring check instead of regex is a perfectly reasonable approach; the question sounds like homework or somehow in over their head. What you’re remembering is that Java has a screwed up matches method (don't get me started), which goes out of its way to supply anchors even when you don’t; that's just one of several reasons why you should only use its find method if you’re forced to use Java for regexes (it’s not very good at them). Most other regex languages aren't so lame. BTW, you still have a spurious backslash. Remove it and I'll remove my downvote.

      – tchrist
      Jan 20 '11 at 1:14












    • @tchrist: removed... but really? It does work. And matches is not what I'm thinking of. Now that I think of it, it was either a third party library or a utility function I wrote for myself.

      – Tom
      Jan 20 '11 at 1:21











    • @Tom I don’t like to see the extra backslashes in square-bracketed character classes because it risks people thinking that . and . mean something different within them — and from there they’ll likely misextrapolate other dubious inaccuracies. It’s important that they realize things work differently inside the brackets than they work outside them.

      – tchrist
      Jan 20 '11 at 1:25














    4














    4










    4









    Use a regex that doesn't have any dots:



    ^[^.]*$


    That is zero or more characters that are not dots in the whole string. Some regex libraries I have used in the past had ways of getting an exact match. In that case you don't need the ^ and $. Having a language in your question would help.



    By the way, you don't have to use a regex. In java you could say:



    !someString.contains(".");





    share|improve this answer















    Use a regex that doesn't have any dots:



    ^[^.]*$


    That is zero or more characters that are not dots in the whole string. Some regex libraries I have used in the past had ways of getting an exact match. In that case you don't need the ^ and $. Having a language in your question would help.



    By the way, you don't have to use a regex. In java you could say:



    !someString.contains(".");






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jan 20 '11 at 1:20

























    answered Jan 20 '11 at 0:41









    TomTom

    15.8k5 gold badges34 silver badges43 bronze badges




    15.8k5 gold badges34 silver badges43 bronze badges















    • @tchrist - I updated my answer. I really have used libraries before (can't remember which though) that allow for exact matching. I figured the OP was having trouble with saying "not dot". Also -- I think my contains approach is pretty reasonable. But perhaps this is homework or the OP is forced to use some library that only accepts a regex...

      – Tom
      Jan 20 '11 at 1:10











    • I will add: my solution works for most languages, but there can be subtleties and I'm happy to try and clarify if the OP provides more details. Also, escaping in brackets is fine (in languages I have used) and I prefer to do it.

      – Tom
      Jan 20 '11 at 1:11











    • @Tom: I agree that a substring check instead of regex is a perfectly reasonable approach; the question sounds like homework or somehow in over their head. What you’re remembering is that Java has a screwed up matches method (don't get me started), which goes out of its way to supply anchors even when you don’t; that's just one of several reasons why you should only use its find method if you’re forced to use Java for regexes (it’s not very good at them). Most other regex languages aren't so lame. BTW, you still have a spurious backslash. Remove it and I'll remove my downvote.

      – tchrist
      Jan 20 '11 at 1:14












    • @tchrist: removed... but really? It does work. And matches is not what I'm thinking of. Now that I think of it, it was either a third party library or a utility function I wrote for myself.

      – Tom
      Jan 20 '11 at 1:21











    • @Tom I don’t like to see the extra backslashes in square-bracketed character classes because it risks people thinking that . and . mean something different within them — and from there they’ll likely misextrapolate other dubious inaccuracies. It’s important that they realize things work differently inside the brackets than they work outside them.

      – tchrist
      Jan 20 '11 at 1:25


















    • @tchrist - I updated my answer. I really have used libraries before (can't remember which though) that allow for exact matching. I figured the OP was having trouble with saying "not dot". Also -- I think my contains approach is pretty reasonable. But perhaps this is homework or the OP is forced to use some library that only accepts a regex...

      – Tom
      Jan 20 '11 at 1:10











    • I will add: my solution works for most languages, but there can be subtleties and I'm happy to try and clarify if the OP provides more details. Also, escaping in brackets is fine (in languages I have used) and I prefer to do it.

      – Tom
      Jan 20 '11 at 1:11











    • @Tom: I agree that a substring check instead of regex is a perfectly reasonable approach; the question sounds like homework or somehow in over their head. What you’re remembering is that Java has a screwed up matches method (don't get me started), which goes out of its way to supply anchors even when you don’t; that's just one of several reasons why you should only use its find method if you’re forced to use Java for regexes (it’s not very good at them). Most other regex languages aren't so lame. BTW, you still have a spurious backslash. Remove it and I'll remove my downvote.

      – tchrist
      Jan 20 '11 at 1:14












    • @tchrist: removed... but really? It does work. And matches is not what I'm thinking of. Now that I think of it, it was either a third party library or a utility function I wrote for myself.

      – Tom
      Jan 20 '11 at 1:21











    • @Tom I don’t like to see the extra backslashes in square-bracketed character classes because it risks people thinking that . and . mean something different within them — and from there they’ll likely misextrapolate other dubious inaccuracies. It’s important that they realize things work differently inside the brackets than they work outside them.

      – tchrist
      Jan 20 '11 at 1:25

















    @tchrist - I updated my answer. I really have used libraries before (can't remember which though) that allow for exact matching. I figured the OP was having trouble with saying "not dot". Also -- I think my contains approach is pretty reasonable. But perhaps this is homework or the OP is forced to use some library that only accepts a regex...

    – Tom
    Jan 20 '11 at 1:10





    @tchrist - I updated my answer. I really have used libraries before (can't remember which though) that allow for exact matching. I figured the OP was having trouble with saying "not dot". Also -- I think my contains approach is pretty reasonable. But perhaps this is homework or the OP is forced to use some library that only accepts a regex...

    – Tom
    Jan 20 '11 at 1:10













    I will add: my solution works for most languages, but there can be subtleties and I'm happy to try and clarify if the OP provides more details. Also, escaping in brackets is fine (in languages I have used) and I prefer to do it.

    – Tom
    Jan 20 '11 at 1:11





    I will add: my solution works for most languages, but there can be subtleties and I'm happy to try and clarify if the OP provides more details. Also, escaping in brackets is fine (in languages I have used) and I prefer to do it.

    – Tom
    Jan 20 '11 at 1:11













    @Tom: I agree that a substring check instead of regex is a perfectly reasonable approach; the question sounds like homework or somehow in over their head. What you’re remembering is that Java has a screwed up matches method (don't get me started), which goes out of its way to supply anchors even when you don’t; that's just one of several reasons why you should only use its find method if you’re forced to use Java for regexes (it’s not very good at them). Most other regex languages aren't so lame. BTW, you still have a spurious backslash. Remove it and I'll remove my downvote.

    – tchrist
    Jan 20 '11 at 1:14






    @Tom: I agree that a substring check instead of regex is a perfectly reasonable approach; the question sounds like homework or somehow in over their head. What you’re remembering is that Java has a screwed up matches method (don't get me started), which goes out of its way to supply anchors even when you don’t; that's just one of several reasons why you should only use its find method if you’re forced to use Java for regexes (it’s not very good at them). Most other regex languages aren't so lame. BTW, you still have a spurious backslash. Remove it and I'll remove my downvote.

    – tchrist
    Jan 20 '11 at 1:14














    @tchrist: removed... but really? It does work. And matches is not what I'm thinking of. Now that I think of it, it was either a third party library or a utility function I wrote for myself.

    – Tom
    Jan 20 '11 at 1:21





    @tchrist: removed... but really? It does work. And matches is not what I'm thinking of. Now that I think of it, it was either a third party library or a utility function I wrote for myself.

    – Tom
    Jan 20 '11 at 1:21













    @Tom I don’t like to see the extra backslashes in square-bracketed character classes because it risks people thinking that . and . mean something different within them — and from there they’ll likely misextrapolate other dubious inaccuracies. It’s important that they realize things work differently inside the brackets than they work outside them.

    – tchrist
    Jan 20 '11 at 1:25






    @Tom I don’t like to see the extra backslashes in square-bracketed character classes because it risks people thinking that . and . mean something different within them — and from there they’ll likely misextrapolate other dubious inaccuracies. It’s important that they realize things work differently inside the brackets than they work outside them.

    – tchrist
    Jan 20 '11 at 1:25












    1
















    Validation Require: First Character must be Letter and then Dot '.' is not allowed in Target String.



    // The input string we are using
    string input = "1A_aaA";



     // The regular expression we use to match
    Regex r1 = new Regex("^[A-Za-z][^.]*$"); //[tx0020] tab and spaces.

    // Match the input and write results
    Match match = r1.Match(input);
    if (match.Success)

    Console.WriteLine("Valid: 0", match.Value);


    else

    Console.WriteLine("Not Match");






    share|improve this answer





























      1
















      Validation Require: First Character must be Letter and then Dot '.' is not allowed in Target String.



      // The input string we are using
      string input = "1A_aaA";



       // The regular expression we use to match
      Regex r1 = new Regex("^[A-Za-z][^.]*$"); //[tx0020] tab and spaces.

      // Match the input and write results
      Match match = r1.Match(input);
      if (match.Success)

      Console.WriteLine("Valid: 0", match.Value);


      else

      Console.WriteLine("Not Match");






      share|improve this answer



























        1














        1










        1









        Validation Require: First Character must be Letter and then Dot '.' is not allowed in Target String.



        // The input string we are using
        string input = "1A_aaA";



         // The regular expression we use to match
        Regex r1 = new Regex("^[A-Za-z][^.]*$"); //[tx0020] tab and spaces.

        // Match the input and write results
        Match match = r1.Match(input);
        if (match.Success)

        Console.WriteLine("Valid: 0", match.Value);


        else

        Console.WriteLine("Not Match");






        share|improve this answer













        Validation Require: First Character must be Letter and then Dot '.' is not allowed in Target String.



        // The input string we are using
        string input = "1A_aaA";



         // The regular expression we use to match
        Regex r1 = new Regex("^[A-Za-z][^.]*$"); //[tx0020] tab and spaces.

        // Match the input and write results
        Match match = r1.Match(input);
        if (match.Success)

        Console.WriteLine("Valid: 0", match.Value);


        else

        Console.WriteLine("Not Match");







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 22 '12 at 11:54









        Muhammad MubashirMuhammad Mubashir

        1,1431 gold badge17 silver badges17 bronze badges




        1,1431 gold badge17 silver badges17 bronze badges































            draft saved

            draft discarded















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f4742357%2fhow-to-match-only-strings-that-do-not-contain-a-dot-using-regular-expressions%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

            Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript