About 12,800,000 results
Open links in new tab
  1. Regular expression to match standard 10 digit phone number

    Here is a regex that will match any phone number for every country in the world regardless of the number of digits. It matches formatted and unformatted national and international phone numbers.

  2. Number Patterns using loops in Java - Stack Overflow

    Mar 22, 2014 · I have been trying different variations of for loops and have no clue how to make these patterns: Pattern 1 54321 5432 543 54 5 Pattern 2 1 12 123 1234 12345 Pattern 3 12345 2345 ...

  3. html input pattern for phone number - Stack Overflow

    Oct 2, 2015 · html input pattern for phone number Asked 10 years, 2 months ago Modified 2 years, 11 months ago Viewed 143k times

  4. Regex credit card number tests - Stack Overflow

    But if your code logic depends on it, then don't use regex, and don't use 3rd party plugin/library! Regex detecting card numbers is quick & easy. But in the long run, your project will run into many serious & …

  5. HTML5 phone number validation with pattern - Stack Overflow

    I'm using HTML5 form validation to validate phone numbers from India. Phone numbers from India are 10 digits long, and start with 7, 8, or 9. For example: 7878787878 9898989898 8678678878 These p...

  6. javascript - html pattern to only accept numbers - Stack Overflow

    Dec 12, 2017 · pattern = "[0-9]" But it is still possible to type other characters than digits. If I change the type attribute to number, then only digits are accepted in the input field but the maxlength attribute …

  7. python - Number pattern using nested loop - Stack Overflow

    Apr 29, 2020 · Here is my code which prints a particular number pattern. I want my number pattern to be in perfect triangular arrangement like: a = int (input ('Enter number: ')) base = a while base > 0: fo...

  8. Creating number patterns in java - Stack Overflow

    I need to create these patterns in java according to however many lines the user enters: 1 12 123 1234 12345 54321 4321 321 21 1 1 21 321 4321 54321 I can do the first two but I ...

  9. How to use a pattern on an input [type="number"]? - Stack Overflow

    Oct 29, 2015 · Citing MDN on the pattern property (highlighting added): pattern A regular expression that the control's value is checked against. The pattern must match the entire value, not just some …

  10. search - Count number of occurrences of a pattern in a file (even on ...

    May 26, 2010 · 100 When searching for number of occurrences of a string in a file, I generally use: grep pattern file | wc -l However, this only finds one occurrence per line, because of the way grep works. …