exclude characters from counting?


Posted on 16th Feb 2014 07:03 pm by admin

Hello, I wanted to ask if you have a string like:
Code: $my_s='ASRGREGTGTR----REGREGRE+++RRRRRR....';

is there a way to count the length of the string, excluding non-word characters (+,- or .)?

thank you

72 Like 8 Dislike
Previous php-forum Next php-forum
Other php-forum

Confusing Functions
So, I've been reading up on Functions and I like them! However, I need some help using variables in

help with php
It's not displaying or pulling anything out of the database.


Code: <html><

order by date not ID number help php
I am trying to orginize the following code to order by date not id number.
any help would be grea

Loop column after 2 results
Hello All.

Here is what I have:

Client ID Company name Clien

generate seo frienly url from a text like wordpress
Convert: "åäö" to "aao", "space" to "-", "!?&q

PHP Directory Listing Not working
Hey Guys,

I need help, I tried a ton of directory listing scripts and they all don't work. Al

ereg_replace issue
hi there people

i have this code happening with regards to my wamp server. is this something

getting Vars to pass to next page.
Hello all,
I have a confusing situation on my hands, i am a member of a gaming community and we

Cannot Connect to Database
I am writing an application to do annual reviews. I cannot get my script to work. Whenever it runs I

Apple's revamped lineup arrives

I'm personally curious about the magic mouse.. a multi-touch concept sounds like it could be nea

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash