Top "Non-alphanumeric" questions

Replacing all non-alphanumeric characters with empty strings

I tried using this but didn't work- return value.replaceAll("/[^A-Za-z0-9 ]/", "");

java regex non-alphanumeric
SQL Server 2008 query to find rows containing non-alphanumeric characters in a column

I was actually asked this myself a few weeks ago, whereas I know exactly how to do this with a …

sql sql-server non-alphanumeric
How to match with regex all special chars except "-" in PHP?

How can I match all the “special” chars (like +_*&^%$#@!~) except the char - in PHP? I know that \W …

php regex unicode special-characters non-alphanumeric
How can I search for rows that contain a non-alphanumeric or space character?

I want to search a table for all rows that contain a non-alphanumeric and non-space character in a specific field. …

sql sql-server-2000 non-alphanumeric
Lua: How to check if a string contains only numbers and letters?

Simple question may have a simple answer, but my current solution seems horrible. local list = {'?', '!', '@…

lua pattern-matching alphanumeric non-alphanumeric
How do I create a Perl regex that matches non-alphanumeric characters except spaces?

I have a Perl regex /\W/i which matches all non-alphanumeric characters, but it also matches spaces which I want …

regex perl unicode character-properties non-alphanumeric
Regular Expression for a password with at least 8 characters and at least 1 non-alphanumeric character(s)

I am trying to make a check in PHP if a user changes their password their new password must be 8 …

php regex passwords non-alphanumeric
Check if a string contains a non-alphanumeric character

I am trying to write a function which takes a string as an argument and checks if that string contains …

c++ string character non-alphanumeric
remove all non-alphanumeric characters from lua string

I checking string for a non-alphanumeric char. if(str:match("%W")) then --make str alpha-numeric end How to remove all …

lua alphanumeric non-alphanumeric
Most Pythonic was to strip all non-alphanumeric leading characters from string

For example !@#123myname --> myname !@#yourname!@#123 --> yourname!@#123 There are plenty of S.O. examples of "most pythonic …

python string alphanumeric non-alphanumeric