About 50 results
Open links in new tab
  1. How to match digits in regex in bash script - Stack Overflow

    Mar 2, 2025 · I'm trying to match some lines against regex that contains digits. Bash version 3.2.25:

  2. regex - Grep regular expression for digits in character string of ...

    I need some way to find words that contain any combination of characters and digits but exactly 4 digits only, and at least one character. EXAMPLE: a1a1a1a1 // Match 1234 // NO ...

  3. What's the difference between str.isdigit (), isnumeric () and ...

    s.isdigit() s.isnumeric() s.isdecimal() I always get as output either all True or all False for each value of s (which is a string). What's the difference between the three? Can you provide an example that gives …

  4. R regular expressions: unexpected behavior of " [:digit:]"

    Nov 1, 2013 · I'd like to extract elements beginning with digits from a character vector but there's something about POSIX regular expression syntax that I don't understand. I would think that vec <- …

  5. What every digit means in software version (1.7.1.0, for example)?

    May 7, 2010 · What could every digit mean in software version? (for example, 1.7.1.0) How do you numerate your versions?

  6. python - Does "\d" in regex mean a digit? - Stack Overflow

    123 Only 1 and 3 are matched by the regex \d; 2 is not. Generally for a sequence of digit numbers without other characters in between, only the odd order digits are matches, and the even order digits …

  7. How to use isdigit function to check whether a given multiple digit ...

    Jan 14, 2023 · 0 How to use isdigit function in C to check whether the given multiple digit string is numeric or not? This is how I used isdigit function for a single digit character.

  8. How to take the nth digit of a number in python - Stack Overflow

    Sep 23, 2016 · This solution solves many more "digit of a number" problems than the one using integer division and modulus. Try to find the leading (left-most) digit of the following numbers using both: …

  9. Regular expression to match standard 10 digit phone number

    Regular expression to match standard 10 digit phone number Asked 12 years, 7 months ago Modified 1 year, 8 months ago Viewed 1.0m times

  10. math - C: how to break apart a multi digit number into separate ...

    Feb 3, 2018 · Say I have a multi-digit integer in C. I want to break it up into single-digit integers. 123 would turn into 1, 2, and 3. How can I do this, especially if I don't know how many digits the integer...