LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

regexp

hello,

 

i use a regexp to format entries

 

for now i use [^\w]  to detect when it is not a word but i would like not to detect   back " <--"  and del ?

 

regards

 

Tinnitus

 

 

 

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 1 of 2
(2,650 Views)

Hi Tinnitus,

 

From your question it seems you are trying to ignore all word characters as well as backspace and delete characters.

You should be able to achieve this with the following regular expression: [^\w\x08\x7F]

 

\x08 and \x7F represent the ASCII code in hex format for backspace and delete respectively.

 

Hope this helps!

 

Stephen C
Applications Engineer
0 Kudos
Message 2 of 2
(2,629 Views)