checking a string for non-digit characters

Hi experts,

I have this working fiddle:

In this example I have a textbox.

I'm using regex to check the input.

Right now if you type the less than symbol < followed by any numbers [0-9] a space is placed between the < and the number that was typed like this:

Notice that when I type < followed by letters like this <m it's not putting a space in between.

How do i revise my example to also put a space in between when I type < followed by a lowercase or upper case letter or symbol?
I'm using this regex for that <[^0-9]

The only time a space should not be put in between, is when I type less than symbol followed by the equals sign <= that shouldn't get a space in between.,

So sample texbox output would look like this. Notice how only time it didn't get a space in between after the < symbol is when I typed = after it.

< 4dsmmdfs < tyfsd < 9s < Twe <= fsddskj
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
maqskywalkerAuthor Commented:
where would that go in the fiddle?
maqskywalkerAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Regular Expressions

From novice to tech pro — start learning today.