Remove all special characters from a string, allowing alphanumeric(code.mareoblo.pl)

submitted by elfyelfy(230) 2 years, 8 months ago

Remove all special characters from a string, allowing only alphanumeric and chars: ‘.’ and ‘-’

1 comment |category: |Views: 193

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by akash575akash575(1) 1 year, 5 months ago 0

we use regex class which contain many important properties like relace(),
spli(), match() etc
we can remove the special char from any string .

For details check this link
http://www.mindstick.com/Forum/119/Special%20character%20remove%20from%20url%20or%20any%20string

Reply

information Login or create an account to comment on this story