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
1 answer

how to sort alphanumeric string linux bash *

list.txt: af3400 af3500 cdf666 bgh400 bgfn44 123456 788000 567890 output.txt: af3400 af3500 bgfn44 bgh400 cdf666 123456 567890 788000 please help
-2
votes
1 answer

split aplhanumeric string for house numbers

I need to extract the number range from house number/ unit number. example - 1B to 36B, 1-B to 36-B or B1 to B36 or B 1 to B 36 the result should be 1 to 36 The prefix or postfix characters or digits can have any length. ex B150 or B1709 or 150B…
-2
votes
1 answer

Using regex to filter these specific chars ° * :

I need to allow these special chars to be saved in the DB -> ° * : and I'm having troubles to know which part of the next string I have to remove to allow them. private static final String ALPHANUMERIC_RE = …
jose
  • 35
  • 1
  • 11
-2
votes
4 answers

Sorting a list of mixed integers and strings

I have a list with data that contains mixed numbers and strings, when i sort using var list = thelist.OrderBy(p=>p.ColumnWithValues) I would get results in the following order: > 1, 1 item, 10, 2, 3, 4, 5, a, another 1, b But i want them to be in…
Sam Jones
  • 4,443
  • 2
  • 40
  • 45
-2
votes
4 answers

validating last two characters to follow a pattern

I have a string abcdefgh, i want to check if the last two characters are alpha numeric/alphabets but not numeric i.e. it can end in a1, 1a, aa but not 11 are there any regex gurus who can chipin The regex should return the below results for the…
Mohammed Rafeeq
  • 2,586
  • 25
  • 26
-2
votes
2 answers

Generate random alphanumeric string into password field

I want to generate a random alphanumeric string into password field when click a button. code behind the button var chars =…
-3
votes
1 answer

Validate Specific Alphanumeric Format

I'm struggling to get this to work. Basically, I'm trying to create an excel formula that will look at a value e.g. RFC12345678 and return whether the format is valid or not. The conditions are: Has to begin with RFC Followed by 8 numbers If it…
Jason
  • 47
  • 1
  • 7
-3
votes
2 answers

sort according to the numeric value at the end before file extention ".png"

for f in os.listdir(path): print(f) results in: TSR23_kaji_v004_10.png TSR23_kaji_v004_100.png TSR23_kaji_v004_1000.png TSR23_kaji_v004_11.png TSR23_kaji_v004_12.png TSR23_kaji_v004_13.png …
-3
votes
1 answer

Why Python prints special characters @#$ etc. when I specifically said not to do so?

I'm trying to print the usernames that contain only letters, numbers, "-" and "_" and are between 3 and 16 characters long. usernames = input().split(', ') for word in usernames: if 3 <= len(word) <= 16 and (c for c in word if (c.isalnum() or c…
prsnr
  • 83
  • 7
-3
votes
1 answer

sorting alpha numeric with numbers

I am looking to sort alpha numeric with lodash and written the below function, I am using common function for both type of sorts (sorting alphabets and sorting alphanumeric ) import sortBy from 'lodash/sortBy'; export const…
kumar jain
  • 93
  • 6
-3
votes
1 answer

Sort list of strings alphanumerically

There's a lot of alphanumeric sorting out there but I don't really understand how they work, and end up with errors on my end haahha but here's the part of the code that makes use of the sorting I need anyways (I'm just experimenting with my project…
GuanSe
  • 39
  • 5
-3
votes
2 answers

How to print 5 random alphanumeric strings on one click in Javascript?

I am able to create single alphanumeric string at a time by clicking on a button by using Math.random() function. But i need to print 5 alphanumeric random values at a time by clicking on button. Please help me out I am beginner in javascript and…
-3
votes
2 answers

Need a code using regular expression in java --> String must be Captial letters(A-Z) and contain digits (0-9)

I need a regular expression for: String must be Captial letters(A-Z) and contain digits (0-9)
vinod
  • 1,178
  • 4
  • 16
  • 42
-3
votes
1 answer

I need to perform subtraction on an alphanumeric in SQL

I need to subtract 1 or more from an alphanumeric as I import data into SQL. Example: =IF({src::Comments}="DUPLICATE",STRCAT("X",RIGHT({src::Sample #},6)-1),"NULL") Where the src::Sample # is a 7 character alphanumeric. I thought this should…
Tim
  • 1
  • 1
-3
votes
1 answer

How to search tracking no like 1Z981Y1ED342132798 in PHP & MySQL

I have a tracking no. 1Z981Y1ED342132798 . But when I search query directly in phpmyadmin it shows the result but when I run the following through php the result will not show. I am sending the field value in GET method during submit my search form.…