Questions tagged [alphanumeric]

Alphanumeric refers to strings containing a combination of letters and digits.

Alphanumeric refers to strings containing a combination of letters and digits.

In the context of English language, it contains characters lowercase a to z, uppercase A to Z and digits 0 to 9. It may contain more letters in other languages.

707 questions
-2
votes
2 answers

converting digits to word in string in python

> #!/usr/bin/env python > > import inflect > > p = inflect.engine() s1 = '' > > word = 'so do 1st or do 2nd or 3rd byte 4 th so do 5th longest word 3765 word 50 but 7th' > list_word = list(word) > print (list_word) > > …
Mrityunjoy
  • 17
  • 4
-2
votes
2 answers

PHP - Password RegEx requirements

I am trying to validate if a new user account's password is matching these criterias: Between 8-30 characters long Contains at least 1 lowercase letter (a-z) Contains at least 1 uppercase letter (A-Z) Contains at least 1 of the following special…
-2
votes
1 answer

Sort list of mixed alpha-numeric strings with dots?

I've got an array of objects that I need to sort using the tab property. All the values are alphanumeric strings. I've setup an example to show you what I have so far, which I can't seem to get working. I need my list sorted like doc1, doc2, doc3...…
Sean Delaney
  • 328
  • 6
  • 21
-2
votes
2 answers

Java Sorting in Descending order

I want to sort a List of Strings in descending order. I tried different comparators but none is giving the answer i am looking for. public class arrasss { public static void main(String[] args) { // TODO Auto-generated method stub …
Arun Nair
  • 425
  • 3
  • 11
-2
votes
4 answers

How to replace only text that starts with a certain letter in Python List?

My question is similar to excel formula to replace or stubstitute only text that starts with a certain letter but I need a code in Python. I am trying to do nested if but it only replaces the first character not the entire element. Also the…
-2
votes
2 answers

In PowerShell, how do I copy the last alphabet characters from a string which also has numbers in it to create a variable?

For example if the string is blahblah02baboon - I need to get the "baboon" seperated from the rest and the variable would countain only the characters "baboon". Every string i need to do this with has alphabet characters first then 2 numbers then…
IanB
  • 271
  • 3
  • 13
-2
votes
2 answers

Perl: Create alphanumeric sequencial vars

I would like to ask a help to create a Perl code where I could create alphanumeric sequential vars (that could be used as array, hash or any other kind of var). for ( my $x = 1; $x <= 10; $x++ ){ my $var$x = "" *# to create empty variable with the…
-2
votes
2 answers

storing alphanumerics as an unknown number of digits in C

I'm trying to read 4 user inputs that can either be one digit, two digits, or a letter. I've tried using %c, but that can't contain any two digit numbers. I've also tried %d, but that reads all letters as 0. Is there anything that can cover all the…
user7694752
-2
votes
1 answer

sql alphanumeric with range start & end

I have a problem, how to search alphanumeric with range (start & end) such as below : if i use BETWEEN, the result will problem with the number that have letter at the end, in pic/table = Input 2. So, how can i to get the Id 6 result when keyin…
twister
  • 41
  • 8
-2
votes
1 answer

Add space before and after all numbers in an alphanumeric string in SQL

Add space before and after all numbers in an alphanumeric string in SQL Example: aa01bb03cc -> aa 01 bb 03 cc aa nk 0221ed23xyz op09 yy -> aa nk 0221 ed 23 xyz op 09 yy
SChowdhury
  • 163
  • 1
  • 11
-2
votes
1 answer

How to sort the following alphanumeric keys of TreeMap?

I want following keys to be sorted in the given following order. D11, D21, D31, D101, D201, D301, D401, Q11, Q40, Q102, Q401. Please help.
user3169322
  • 9
  • 1
  • 4
-2
votes
1 answer

Not able to make regex alphanumeric

I am not able to this regex as alphanumeric.This regex is fulfilling all my requirements but it is not alphanumeric i.e it must validate if the value entered is alpha numeric or not.The regex is below ^ (?!(.)\1+$) …
-2
votes
2 answers

Python input allowing integers and one alpha character

I'm making a calculator on Python 3.4. The calculator will ask the user to enter a number. I want to restrict this so they can only enter a number (which I am fine about) or to press the 'C' key to clear the calculator. I seem to be getting stuck…
P.Morris
  • 3
  • 1
-2
votes
1 answer

How to create alphanumeric Sequence without using Trigger

Sequence Should looks like :- A1 A2 A3 B1 B2 B3 C1 C2 C3
Ranjan Jena
  • 59
  • 1
  • 5
-2
votes
1 answer

Reading(from a text file) and printing alphanumeric values in python

I have a text file, the first two columns of which has alphanumeric values. I want to store them in a variable and print it afterwards. Can anyone tell me how to do so in Python? I tried using this x2=np.loadtxt('iau1.txt', unpack=True,…
Lekha
  • 1
  • 3