Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
111 views

Inconsistent behavior of parse_number() with non-alphanumeric strings in R

I'm having trouble using readr::parse_number() on a character column that sometimes contains non-alphanumeric prefixes before the number. In some cases, parse_number() extracts the number correctly, ...
TarJae's user avatar
  • 79.8k
0 votes
3 answers
143 views

Python voltage input

`Hi, I want to write a code to get inputs for both integer and float numbers but only numbers. If float number is given it accepts dot but not any other nonalphanumeric characters. I wrote this code ...
oznurc's user avatar
  • 23
1 vote
0 answers
863 views

Teradata REGEXP to find all non-alpha characters

The HISTORY_MEMBERS table has undesireable entries in the some of the columns. The majority are in the Last_Name column. Some entries were made for testing (TestLastName, test, tester, etc.) and ...
DLPP's user avatar
  • 11
2 votes
3 answers
1k views

Remove all characters except alphabets and numbers from a C# "Unicode" string

Removing non-alphanumeric characters from a string is simple work. For example: StringBuilder sb = new StringBuilder(); foreach(var c in s) { if ((c >= 'a' && c <= 'z') || (c >= '...
user avatar
10 votes
3 answers
432 views

Place an escape sign before every non-alphanumeric characters

I am trying to place an escape sign before every non-alphanumeric character: > my $b = "!@#%^||" ~ "/welcome xyz:!@#\$%^&*()|:;.,?/-." !@#%^||/welcome xyz:!@#$%^&*()|:;....
lisprogtor's user avatar
  • 5,749
0 votes
1 answer
555 views

How to remove leading and trailing non-alphanumeric characters of a certain string in python using regex?

How do I remove the leading and trailing non-alpha characters in a given string, before and after a certain substring? See the example below input_string = m#12$my#tr!#$g% output_string = m12my#tr!g ...
Archibald's user avatar
  • 485
0 votes
1 answer
571 views

Is there a way to create GoogleTest paramaterized test cases that contain non-alphanumeric characters?

I'm performing some validation tests on several XML files, some of which contain hyphens in the name. I've created a parameterized test case containing the file names (excluding extensions) but ...
Rhombus's user avatar
  • 154
3 votes
0 answers
931 views

standard non-alphanumeric sort order

Is there a standardised sort order for NON-alpha-numeric characters that is used across most systems / programs? For instance, when I create a bunch of items with symbols as the first character and ...
AutoBaker's user avatar
  • 1,307
1 vote
1 answer
579 views

Read non alphabetic character using pandas from excel

I am trying to read this file using pandas in UTF-8 encoding. English alphabetic characters are read properly but those characters which are not English alphabet are not read properly. I tried ...
Dhananjay kumar Singh's user avatar
2 votes
1 answer
485 views

How to make padding spaces results of a similar length when using non alphanumeric characters?

I am using javascript, and I want the output of the following console.log() to be of a same length. const str1 = 'English'; console.log(str1.padEnd(10, '.')); const str2 = '日本語'; console.log(str2....
philippos's user avatar
  • 1,303
1 vote
1 answer
857 views

Adding columns to dataframe that show boolean based on column data type in python

I'm trying to add columns to the dataframe that are booleans based on a determination of whether the current column being iterated through is alphanumeric, alphabetical, or numerical. Unfortunately, ...
Todd Baker's user avatar
2 votes
0 answers
209 views

Trouble with tabulizer library in r recognizing non-alphanumeric (symbol) characters on a table in a PDF

I am using the tabulizer library in r to capture data from a table located inside a PDF on a public website (https://www.waterboards.ca.gov/sandiego/water_issues/programs/basin_plan/docs/update082812/...
user11036517's user avatar
0 votes
2 answers
5k views

How can I select all records with non-alphanumeric and remove them?

I want to select the records containing non-alphanumeric and remove those symbols from strings. The result I expecting is strings with only numbers and letters. I'm not really familiar with regular ...
Min Sun's user avatar
0 votes
1 answer
68 views

Print only valid Alphanumeric Strings

Print only valid Alphanumeric Strings For example, the geral print is: Xô3†kЀ?ë±3!æq¥b. Parabéns, conseguiu. ñoÛD¦Ó¶Y˜…Û¬œ«÷ôQÂ. Ãý™448($vúiP±ÔÅã. ÝÆû4sÊìÏiÁLy[r¥…X°. But ...
Yuri Oliveira's user avatar
2 votes
2 answers
175 views

How to drop and keep only certain non alphanumeric characters?

I Have df that looks like this: email id {'email': ['[email protected]']} {'id': ['123abc_d456_789_fgh']} when I drop non alphanumeric characters like so: df....
RustyShackleford's user avatar

15 30 50 per page
1
2 3 4 5