취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

Regular Expressions Question

해결 완료!
솔루션으로 이동

Hello:

I am new to the community, and have a regular expression questions.

In the text list below:

Cholesterol
20
mg

What is the regular expression to match the the 1st Uppercase letter at 1st position of each line?

Is this code corrected /^[A-Z]/i ?

Thanks

Dennis

0 포인트
1/4 메시지
3,024 조회수
솔루션
주제 작성자 Bobby123456이(가) 승인함

I'm pretty bad with regular expressions but when I do need to work with them I usually use the site below. It has a nice help menu on the side, lets you type in a bunch of test cases, and highlights the results of your regular expression.

 

https://regexr.com/

Matt J | National Instruments | CLA
2/4 메시지
2,988 조회수
솔루션
주제 작성자 Bobby123456이(가) 승인함

regex-example.png

hope this helps

 

am not sure this is the best board to ask the question,

i think it would be better placed (and get more replies) on the main labview board https://forums.ni.com/t5/LabVIEW/bd-p/170,

perhaps someone can move it there?


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 포인트
3/4 메시지
2,946 조회수

Hello Matt:

The site works very well, thanks.

Dennis

0 포인트
4/4 메시지
2,913 조회수