RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Pattern Title
Expression
([^a-zA-Z0-9])
Description
(Corrected) This pattern will match 1 instance of a NON-alphanumeric character. This is very handy to use when y ou want to filter input only by alphanumeric characters, by using Regex.Replace. However, when used in a Regex.Replace, it will replace all instances of non-alphanumeric characters with specified character.
Matches
Test! | This will match | H3llo$
Non-Matches
Test | Thiswillnotmatch | H3llo
Author Rating: Not yet rated. Shane Sukul
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials