nacho
01-08-2006, 04:40 PM
I would like to know how can I represent a string with any character except the string "<b>" and including the substring "Nacho", for example.
I mean:
"Hi!, my name is Nacho", this will give "ok".
But, "Hi!, my name is <b>Nacho</b>", this wouldn't give "ok".
I know that something like [^0-9] will find any string without numbers, but something more complicated, I don't know how. The example would be something like
(.*[^<b>]Nacho)+
but I guess it's not correct.
Wow, I don't know if the question is clear.
Thanks a lot, and really congrats for this wonderful site.
I mean:
"Hi!, my name is Nacho", this will give "ok".
But, "Hi!, my name is <b>Nacho</b>", this wouldn't give "ok".
I know that something like [^0-9] will find any string without numbers, but something more complicated, I don't know how. The example would be something like
(.*[^<b>]Nacho)+
but I guess it's not correct.
Wow, I don't know if the question is clear.
Thanks a lot, and really congrats for this wonderful site.