Skip to Content
0
Aug 29, 2014 at 06:10 AM

Regex: letters dot and space only

3294 Views

Hello expert,

have an input field which should accept only letters, '.' and space (see image below). here is my code so far.


FIND FIRST OCCURRENCE OF REGEX '[^a-zA-Z]*' IN makt-maktx.

IF sy-subrc = 0.

MESSAGE e012.

ENDIF.


makt-maktx is the field on screen.


Help please

Attachments

Capture.PNG (4.4 kB)