About 50 results
Open links in new tab
  1. In Python, how do I check if a string has alphabets or numbers?

    @Owalla I assume the alnum part of isalnum() stands for alphanumeric, which essentially means contains letters or numbers. Sounds as if Python has a built-in string method to do this test for you, …

  2. Stripping everything but alphanumeric chars from a string in Python

    What is the best way to strip all non alphanumeric characters from a string, using Python? The solutions presented in the PHP variant of this question will probably work with some minor adjustment...

  3. python - Checking if any character in a string is alphanumeric - Stack ...

    Checking if any character in a string is alphanumeric Asked 8 years, 8 months ago Modified 7 years, 10 months ago Viewed 58k times

  4. python - How do I check if a string only contains alphanumeric ...

    Jun 8, 2012 · The string I'm testing can be matched with [\\w-]+. Can I test if a string conforms to this in Python, instead of having a list of the disallowed characters and testing for that?

  5. python - Efficiently generate a 16-character, alphanumeric string ...

    Note that the OP asked for a 16-character alphanumeric string, but UUID4 strings are 32 characters long. You should not truncate this string, instead, use the complete 32 characters.

  6. Python regular expression to check alphanumeric - Stack Overflow

    Mar 12, 2015 · 3 Im using the below regular expression to check if a string contains alphanumeric or not but I get result = None.

  7. python - How to sort a list containing alphanumeric values? - Stack ...

    How to sort a list containing alphanumeric values? Asked 12 years, 3 months ago Modified 3 years, 8 months ago Viewed 19k times

  8. Python keep only alphanumeric words from list - Stack Overflow

    May 7, 2018 · Python keep only alphanumeric words from list Asked 7 years, 9 months ago Modified 7 years, 9 months ago Viewed 7k times

  9. python - Generate alphanumeric strings sequentially - Stack Overflow

    I'm trying to create a loop to generate and print strings as follows: Alphanumeric characters only: 0-9 are before A-Z, which are before a-z, Length goes up to 4 characters. So, it would print: all

  10. Regex to extract ONLY alphanumeric words - Stack Overflow

    Jan 5, 2019 · Regex to extract ONLY alphanumeric words Asked 7 years, 1 month ago Modified 7 years, 1 month ago Viewed 17k times