Hi,
you can search non-alpha numeric characters by simple adding a negation regex charactor in the regex string (^).
below is the Example
preg_replace('/[^A-Za-z0-9_]/'
Thanks
A self-motivated, multi-domain, hardworking, responsible and solutions-orientated JAVA, J2EE, Spring 4, HTML 5, CSS 3, JavaScript, ES6, Typescript, AngularJS 1.4, jQuery 1.8, PHP 5, Shell Script, PL SQL, MySQL, Google App Engine, Google Datastore, JPA, Cucumber BDD Professional with more then 8+ Years of IT experience in a various IT stages including Design, developing, Unit testing and enhancement and 24*7 support application.
Configure HTML/JavaScript
Thursday, January 20, 2011
Searching non alpha numeric character through REGEX through PHP
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment