11-16-2011 07:04 PM
Hi, I want to extract the space (sometimes, !#" etc) from "@020 12345' using match pattern function.
When I used [\s!#"] as a regular expression, the result "20".
Why my expression is not worked and Can you propose more suitable expression?
labmaster
*)Enclosed is the VI example in LV2009
Solved! Go to Solution.
11-16-2011 07:42 PM
Your string indicator is set to hex display. 0x20 is a space, right? 😉
11-16-2011 07:44 PM - edited 11-16-2011 07:45 PM
@labmaster wrote:
Hi, I want to extract the space (sometimes, !#" etc) from "@020 12345' using match pattern function.
You should also describe what you mean by "extract". If you simply need a space, you can use a space diagram constant. No need to extract it. Do you want the resulting string without the space, for example?
I am sure one of the regex gurus here will jump right on this one... 😉
11-16-2011 10:13 PM
Wow, I had a mistake to interprete the indicator. Happen to be "20".
Thanks.
labmaster.