Hi,
I want to write a PHP Function in such a way that should return only [A-Z]|[a-z]|[0-9] character from a string and disgard other character from it.
For example the string values
part_numbers
MP-97
987/plt543-009
bbbPPP trww\d2_99
will return
MP97
987plt543009
bbbPPPtrwwd299
the result should have no space,dashes,slases. Result only have [A-Z]|[a-z]|[0-9] character.
Please help me to write such "String pattern" of preg_match_all fucntion. I should be much thankfull.