Again:
`string: He will go b@rcelona today
$myvar: [space here TOP Deletation]b'<== deletation begin'@'begin deletation==>rcelona[space here, TOP deletation]
Output: He will go today`
The example of the house is what happened to a file that I have to clean, it is very dirty, and its first code worked very well, but only with asterisks, different from the request of the question.
Here I do match with everything that is not alphanumeric:
^a-zA-Z0-9
Here I do match with everything that is not alphanumeric: ^ a-zA-Z0-9 I need to clean everything that comes before it until the next empty space (blank space \s ... I do not know how to do it, I already I tried a lot on my own) until I delete everything that comes after the alpha numeric character, but what comes before it until the next blank? please: * = ALL Non-Alpha Numerics
[Stop in white space, leave it]888AAAA*AAAA888[white space]
Asterisk is representing any non-alpha character.(~^*&%$>>>)
I need find the * and clean it: * and everything that comes before or after and stop only while find first white space.
Exactly how it does:
[^\s*]*\*([a-zA-Z0-9]*) But only works only with asterisks.
[^\s*]*\*([a-zA-Z0-9]*);
But I'm facing a case here in my work, that I need to do a big cleaner in several variables, but looking for "/[^a-zA-Z0-9\s]/" And everything I had glued to it
I need this output with:
That is a big house mmmm&MmmMM pppp%MMMM hhhh!HHHH UUUU?000^uuuu~yyyy and very well localized
What else is non alpha numeric? "/[^a-zA-Z0-9\s]/" or \W
Every time I find a character not alpha numerical, delete everything forward and backward, stopping at the space:
[^\s*]*\*([a-zA-Z0-9]*)
Thanks agains.